remove body property in args (#91)

This commit is contained in:
hulkrelax
2022-06-28 20:12:55 -05:00
committed by GitHub
parent 9619c52720
commit abc5ce5382

View File

@@ -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);
},