From 03024ef7a9438361b511ca3e3aa603f419302045 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 7 Jun 2025 15:59:17 +0300 Subject: [PATCH] chore(desktop): bypass query error --- apps/server/src/routes/electron.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/server/src/routes/electron.ts b/apps/server/src/routes/electron.ts index 623552489..70a9205fc 100644 --- a/apps/server/src/routes/electron.ts +++ b/apps/server/src/routes/electron.ts @@ -49,12 +49,13 @@ interface Arg { headers: Record } -class FakeRequest extends EventEmitter implements Pick>, "url" | "method" | "body" | "headers" | "session"> { +class FakeRequest extends EventEmitter implements Pick>, "url" | "method" | "body" | "headers" | "session" | "query"> { url: string; method: string; body: any; headers: Record; session: Session & Partial; + query: Record = {}; constructor(arg: Arg) { super();