summaryrefslogtreecommitdiff
path: root/worker.js
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-04-10 17:37:36 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-04-10 17:37:36 +0200
commit231211e94e5019714b306bb406fb55dd2c5e268e (patch)
treef101948456eadb438b39c94f6130be584c3038c9 /worker.js
parent49a0121586406032309c5c392c27629d11a8c9a3 (diff)
downloadshrinker-231211e94e5019714b306bb406fb55dd2c5e268e.tar.gz
shrinker-231211e94e5019714b306bb406fb55dd2c5e268e.zip
add match_api_id to participant
Diffstat (limited to 'worker.js')
-rw-r--r--worker.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/worker.js b/worker.js
index 24c457b..183b552 100644
--- a/worker.js
+++ b/worker.js
@@ -150,6 +150,7 @@ var RABBITMQ_URI = process.env.RABBITMQ_URI,
roster.participants = roster.participants.map((participant) => {
participant.attributes.shardId = roster.attributes.shardId;
participant.rosterApiId = roster.id;
+ participant.matchApiId = match.id;
participant.createdAt = roster.createdAt;
participant.playerApiId = participant.player.id;