add missing interpolation xd

This commit is contained in:
Zamitto 2024-05-27 22:55:03 -03:00
parent d6ea0d817e
commit 7c1d9565ba

View File

@ -41,8 +41,8 @@ export class AlterLastTimePlayedToDatime1716776027208
for (const game of result) { for (const game of result) {
if (!game.lastTimePlayed) continue; if (!game.lastTimePlayed) continue;
await queryRunner.query( await queryRunner.query(
`UPDATE game set lastTimePlayed = ? WHERE id = ${game.id};`, `UPDATE game set lastTimePlayed = ? WHERE id = ?;`,
[game.lastTimePlayed.toUTCString()] [game.lastTimePlayed.toUTCString(), game.id]
); );
} }
} }