From d7fcdb2ee11fa2f5a10f911b6916741ea0672734 Mon Sep 17 00:00:00 2001 From: schneefux Date: Tue, 4 Apr 2017 17:21:31 +0200 Subject: fix player_ext notifications --- worker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")) )) ]); } })(); -- cgit v1.3.1