mirror of
https://github.com/Kong/insomnia.git
synced 2026-10-25 08:09:06 -04:00
Fix session ID not being provided in some network calls
This commit is contained in:
1 parent
43f424c48c
commit
4e6f044b99
2 files changed
+3
-2
No files matched your search
@@ -190,7 +190,7 @@ export async function listTeams() {
|
||||
}
|
||||
|
||||
export async function endTrial() {
|
||||
await fetch.put('/api/billing/end-trial', getCurrentSessionId());
|
||||
await fetch.put('/api/billing/end-trial', null, getCurrentSessionId());
|
||||
}
|
||||
|
||||
// ~~~~~~~~~~~~~~~~ //
|
||||
|
||||
@@ -27,7 +27,7 @@ export async function syncPush(body) {
|
||||
}
|
||||
|
||||
export async function syncResetData() {
|
||||
return fetch.post('/auth/reset', session.getCurrentSessionId());
|
||||
return fetch.post('/auth/reset', null, session.getCurrentSessionId());
|
||||
}
|
||||
|
||||
export async function syncFixDupes(resourceGroupIds) {
|
||||
@@ -37,6 +37,7 @@ export async function syncFixDupes(resourceGroupIds) {
|
||||
export async function unshareWithAllTeams(resourceGroupId) {
|
||||
return fetch.put(
|
||||
`/api/resource_groups/${resourceGroupId}/unshare`,
|
||||
null,
|
||||
session.getCurrentSessionId(),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user