chore(desktop): bypass query error

This commit is contained in:
Elian Doran 2025-06-07 15:59:17 +03:00
parent 9907f7f60f
commit 03024ef7a9
No known key found for this signature in database

View File

@ -49,12 +49,13 @@ interface Arg {
headers: Record<string, string>
}
class FakeRequest extends EventEmitter implements Pick<Request<ParamsDictionary, any, any, QueryString.ParsedQs, Record<string, any>>, "url" | "method" | "body" | "headers" | "session"> {
class FakeRequest extends EventEmitter implements Pick<Request<ParamsDictionary, any, any, QueryString.ParsedQs, Record<string, any>>, "url" | "method" | "body" | "headers" | "session" | "query"> {
url: string;
method: string;
body: any;
headers: Record<string, string>;
session: Session & Partial<SessionData>;
query: Record<string, any> = {};
constructor(arg: Arg) {
super();