Update.
This commit is contained in:
+1
-1
@@ -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}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user