From 3e549dae28fc89d93a657be6498fb2900d079fad Mon Sep 17 00:00:00 2001 From: "Emma [it/its]@Rory&" Date: Wed, 2 Jul 2025 17:36:46 +0200 Subject: Fix typeorm queries no longer allowing empty where clauses --- src/api/util/handlers/Instance.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api/util') diff --git a/src/api/util/handlers/Instance.ts b/src/api/util/handlers/Instance.ts index ccd56d928..e7b14c4f5 100644 --- a/src/api/util/handlers/Instance.ts +++ b/src/api/util/handlers/Instance.ts @@ -34,5 +34,5 @@ export async function initInstance() { // } // TODO: do no clear sessions for instance cluster - await Session.delete({}); + await Session.clear(); } -- cgit 1.5.1