From cefb8fab3cb0b4629eda90c74beb3a2ac974394f Mon Sep 17 00:00:00 2001 From: retoor Date: Sun, 3 Aug 2025 23:37:50 +0200 Subject: [PATCH] Update. --- static/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/index.html b/static/index.html index dd4f65e..fedbf7f 100644 --- a/static/index.html +++ b/static/index.html @@ -655,7 +655,7 @@ } // Add auth to query params for GET requests - if (currentUser && options.method === 'GET' || !options.method) { + if (currentUser && (options.method === 'GET' || !options.method)) { const separator = endpoint.includes('?') ? '&' : '?'; endpoint += `${separator}app=${APP_ID}&token_id=${currentUser.token_id}&token_key=${currentUser.token_key}&user_id=${currentUser.id}`; }