diff --git a/src/replays.ts b/src/replays.ts index bb660ec..c370393 100644 --- a/src/replays.ts +++ b/src/replays.ts @@ -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); } };