summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server.js2
1 files changed, 1 insertions, 1 deletions
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