mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Fix custom token use in queryFn
This commit is contained in:
parent
e0fb29bd80
commit
5cffeea4fd
@ -54,7 +54,7 @@ export const queryFn = async <Parser extends z.ZodTypeAny>(
|
||||
lastUsedUrl = url!;
|
||||
|
||||
const token =
|
||||
iToken === undefined && context.authenticated !== false ? await getToken() : undefined;
|
||||
iToken === undefined && context.authenticated !== false ? await getToken() : iToken;
|
||||
const path = [url]
|
||||
.concat(
|
||||
"path" in context
|
||||
|
Loading…
x
Reference in New Issue
Block a user