diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-06-21 15:16:48 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-06-21 15:16:48 +0200 |
| commit | 25843e26d5dec2de5b7332cff04edfb8df5afa2a (patch) | |
| tree | 40d49cd99218c3e9a6a0c56a70e269c487b7639a | |
| parent | 0f4376f6af0cdca88ba01e70908ff59d7bdc2a40 (diff) | |
| download | bridge-25843e26d5dec2de5b7332cff04edfb8df5afa2a.tar.gz bridge-25843e26d5dec2de5b7332cff04edfb8df5afa2a.zip | |
fetch all privates for a player, not only since last public lmcd
| -rw-r--r-- | server.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -311,7 +311,8 @@ async function updatePlayer(player, category) { // set last_update and request an update job // if last_update is null, we need that player's full history let grabstart; - if (player.get("last_update") != null) + if (player.get("last_update") != null && category == "regular") + // TODO do not fetch everything on category tournament / brawl grabstart = player.get("created_at"); if (grabstart == undefined) grabstart = defaultGrabstartForCategory(category); else |
