From b51c85b809fe19815aa92ed8eb844fe1840e8039 Mon Sep 17 00:00:00 2001 From: schneefux Date: Mon, 3 Apr 2017 16:33:14 +0200 Subject: send the players to processor, not jsonapi data --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index ccab17c..50c9bd8 100644 --- a/server.js +++ b/server.js @@ -97,7 +97,7 @@ async function searchPlayer(name) { // // send to processor, so the player is in db // no matter whether we find matches or not - await ch.sendToQueue("process", new Buffer(JSON.stringify(players)), + await ch.sendToQueue("process", new Buffer(JSON.stringify(players.data)), { persistent: true, type: "player" }); // request grab jobs -- cgit v1.3.1