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}`;
}