diff options
| author | hulkrelax <104332602+hulkrelax@users.noreply.github.com> | 2022-06-28 20:12:55 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-28 21:12:55 -0400 |
| commit | abc5ce53827e88bd4bed695ac166d27f4b848074 (patch) | |
| tree | 1bada8f665afca6ef338ec201d8ef227e32eb2a9 | |
| parent | 9619c52720c97ef74842b15aa732dd0a8d6fb26a (diff) | |
| download | decky-loader-abc5ce53827e88bd4bed695ac166d27f4b848074.tar.gz decky-loader-abc5ce53827e88bd4bed695ac166d27f4b848074.zip | |
remove body property in args (#91)
| -rw-r--r-- | frontend/src/plugin-loader.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/plugin-loader.tsx b/frontend/src/plugin-loader.tsx index cad59c2f..c1f286ef 100644 --- a/frontend/src/plugin-loader.tsx +++ b/frontend/src/plugin-loader.tsx @@ -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); }, |
