Skip to content

Commit

Permalink
remove body property in args (SteamDeckHomebrew#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
hulkrelax authored Jun 29, 2022
1 parent fc60480 commit 6fd9404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/plugin-loader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ class PluginLoader extends Logger {
return response.json();
},
fetchNoCors(url: string, request: any = {}) {
let args = { method: 'POST', headers: {}, body: '' };
let args = { method: 'POST', headers: {} };
const req = { ...args, ...request, url, data: request.body };
return this.callServerMethod('http_request', req);
},
Expand Down

0 comments on commit 6fd9404

Please sign in to comment.