diff options
| author | Beebles <102569435+beebls@users.noreply.github.com> | 2023-01-22 15:33:26 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-22 14:33:26 -0800 |
| commit | 6569f1b2684c7875e99f9a30802f5378e284e7eb (patch) | |
| tree | 5b24004dff61fcbee78a1f7fe9433da225c5db5d /frontend/src | |
| parent | 3ebaac6752cb2b13ee5bfb6274cd7ae60b0d6bcb (diff) | |
| download | decky-loader-6569f1b2684c7875e99f9a30802f5378e284e7eb.tar.gz decky-loader-6569f1b2684c7875e99f9a30802f5378e284e7eb.zip | |
Fix http_request not allowing bodys (#352)v2.5.1
Diffstat (limited to 'frontend/src')
| -rw-r--r-- | frontend/src/plugin-loader.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/frontend/src/plugin-loader.tsx b/frontend/src/plugin-loader.tsx index bcd84b3f..7215b49a 100644 --- a/frontend/src/plugin-loader.tsx +++ b/frontend/src/plugin-loader.tsx @@ -335,6 +335,7 @@ class PluginLoader extends Logger { fetchNoCors(url: string, request: any = {}) { let args = { method: 'POST', headers: {} }; const req = { ...args, ...request, url, data: request.body }; + req?.body && delete req.body return this.callServerMethod('http_request', req); }, executeInTab(tab: string, runAsync: boolean, code: string) { |
