Update.
This commit is contained in:
parent
d2583440e8
commit
cefb8fab3c
@ -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}`;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user