summaryrefslogtreecommitdiff
path: root/worker.js
diff options
context:
space:
mode:
Diffstat (limited to 'worker.js')
-rw-r--r--worker.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/worker.js b/worker.js
index a31f97d..6e4e4cb 100644
--- a/worker.js
+++ b/worker.js
@@ -217,7 +217,7 @@ var RABBITMQ_URI = process.env.RABBITMQ_URI || "amqp://localhost",
Promise.all(players.map(async (p) => await ch.publish("amq.topic", "player." + p.name,
new Buffer("stats_update")) )),
Promise.all(participant_ext_records.map(async (p) => await ch.publish("amq.topic",
- "participant." + p.api_id, new Buffer("stats_update")) ))
+ "participant." + p.participant_api_id, new Buffer("stats_update")) ))
]);
}
})();