mirror of
https://git.boykissers.com/pawkey/pawkey-sk.git
synced 2025-12-20 04:04:16 +00:00
feat: require credentials for various endpoints (#3)
This commit is contained in:
@@ -109,7 +109,7 @@ export class APIClient {
|
||||
headers: {
|
||||
'Content-Type': mediaType,
|
||||
},
|
||||
credentials: 'omit',
|
||||
credentials: 'same-origin',
|
||||
cache: 'no-cache',
|
||||
}).then(async (res) => {
|
||||
const body = res.status === 204 ? null : await res.json();
|
||||
|
||||
Reference in New Issue
Block a user