diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-01 17:41:58 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-01 17:41:58 +0200 |
| commit | 8e3f0661d524c355748377e56150a827f59f543c (patch) | |
| tree | 0bc52bf21f2bab9213b8818f4730663f2c7348a8 | |
| parent | 7ffc2723ea723e6115bf638b389db7c0ada141eb (diff) | |
| download | apigrabber-8e3f0661d524c355748377e56150a827f59f543c.tar.gz apigrabber-8e3f0661d524c355748377e56150a827f59f543c.zip | |
drop teams
| -rw-r--r-- | worker.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -51,10 +51,10 @@ if (MADGLORY_TOKEN == undefined) throw "Need an API token"; } }) )); - // send players and teams, they are duplicated in the above structure + // send players they are duplicated in the above structure // and will be inserted seperately await Promise.all(data.included - .filter((o) => o.type == "player" || o.type == "team") + .filter((o) => o.type == "player") .map(async (o) => await ch.sendToQueue("process", new Buffer(JSON.stringify(o)), { persistent: true, |
