mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 01:18:42 +00:00
Remove unnecessary JSON.stringify from axios requests (#7705)
This commit is contained in:
parent
eacc75b585
commit
e516c5d450
2 changed files with 2 additions and 2 deletions
|
|
@ -66,6 +66,6 @@ export default {
|
|||
const { QUERIES } = endpoints;
|
||||
const path = `${QUERIES}/${id}`;
|
||||
|
||||
return sendRequest("PATCH", path, JSON.stringify(updateParams));
|
||||
return sendRequest("PATCH", path, updateParams);
|
||||
},
|
||||
};
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ export default {
|
|||
},
|
||||
initializeSSO: (relay_url: string) => {
|
||||
const { SSO } = endpoints;
|
||||
return sendRequest("POST", SSO, JSON.stringify({ relay_url }));
|
||||
return sendRequest("POST", SSO, { relay_url });
|
||||
},
|
||||
ssoSettings: () => {
|
||||
const { SSO } = endpoints;
|
||||
|
|
|
|||
Loading…
Reference in a new issue