Format code

This commit is contained in:
Zoe Roux 2024-03-10 21:25:46 +01:00
parent 01d7f62c36
commit 4108434788

View File

@ -53,8 +53,7 @@ export const queryFn = async <Parser extends z.ZodTypeAny>(
const url = context.apiUrl && context.apiUrl.length > 0 ? context.apiUrl : getCurrentApiUrl();
lastUsedUrl = url!;
const token =
iToken === undefined && context.authenticated !== false ? await getToken() : iToken;
const token = iToken === undefined && context.authenticated !== false ? await getToken() : iToken;
const path = [url]
.concat(
"path" in context