diff options
| author | TrainDoctor <traindoctor@protonmail.com> | 2023-01-29 13:32:58 -0800 |
|---|---|---|
| committer | TrainDoctor <traindoctor@protonmail.com> | 2023-01-29 13:59:02 -0800 |
| commit | 2e53fb217a0e870359b48a1f2324f3f5cf30d7ec (patch) | |
| tree | 5f1335e1bad920eec72b2dab24777e1f65d66ae0 /frontend | |
| parent | c2b76d9099ac551f829f9cec821c23a9aff6b018 (diff) | |
| download | decky-loader-2e53fb217a0e870359b48a1f2324f3f5cf30d7ec.tar.gz decky-loader-2e53fb217a0e870359b48a1f2324f3f5cf30d7ec.zip | |
Add better handling for unloading of plugins
Diffstat (limited to 'frontend')
| -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 7215b49a..1a788a5b 100644 --- a/frontend/src/plugin-loader.tsx +++ b/frontend/src/plugin-loader.tsx @@ -335,7 +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 + req?.body && delete req.body; return this.callServerMethod('http_request', req); }, executeInTab(tab: string, runAsync: boolean, code: string) { |
