mirror of
https://github.com/smogon/pokemon-showdown-loginserver.git
synced 2026-03-21 17:34:38 -05:00
Remove inputlogs from /api/replays/batch
This commit is contained in:
parent
2a250d6f53
commit
7f45fde4f7
|
|
@ -234,7 +234,9 @@ export const Replays = new class {
|
|||
)`WHERE private = 0 ORDER BY uploadtime DESC LIMIT 51`.then(this.toReplays);
|
||||
}
|
||||
getBatch(ids: string[]) {
|
||||
return replays.selectAll()`WHERE private = 0 AND id IN (${ids}) LIMIT 51`.then(this.toReplays);
|
||||
return replays.selectAll(
|
||||
SQL`uploadtime, id, format, players, rating, log`
|
||||
)`WHERE private = 0 AND id IN (${ids}) LIMIT 51`.then(this.toReplays);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user