This commit is contained in:
Ben Wilson 2023-08-06 19:18:29 -04:00
parent 62f528d55f
commit 0fcb2ec070

View File

@ -26,7 +26,7 @@ export class ClientService {
.createQueryBuilder()
.update(ClientEntity)
.set({ deletedAt: () => "DATETIME('now')" })
.where("deletedAt IS NULL AND updatedAt < :fiveMinutes", { fiveMinutes })
.where("deletedAt IS NULL AND updatedAt < DATETIME(:fiveMinutes)", { fiveMinutes })
.execute();
}