mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-07-11 23:32:00 +00:00
remove body property in args (#91)
This commit is contained in:
@@ -164,7 +164,7 @@ class PluginLoader extends Logger {
|
|||||||
return response.json();
|
return response.json();
|
||||||
},
|
},
|
||||||
fetchNoCors(url: string, request: any = {}) {
|
fetchNoCors(url: string, request: any = {}) {
|
||||||
let args = { method: 'POST', headers: {}, body: '' };
|
let args = { method: 'POST', headers: {} };
|
||||||
const req = { ...args, ...request, url, data: request.body };
|
const req = { ...args, ...request, url, data: request.body };
|
||||||
return this.callServerMethod('http_request', req);
|
return this.callServerMethod('http_request', req);
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user