fix(ui): api delete request with empty params
This commit is contained in:
parent
980ca970ff
commit
6966412278
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ export default class APIClient {
|
|||
(this.init.headers as Headers).set('Authorization', `Bearer ${jwt}`);
|
||||
}
|
||||
|
||||
const init = this.getInit(method, options.clean ? clean(params) : params);
|
||||
const init = this.getInit(method, options.clean && params ? clean(params) : params);
|
||||
|
||||
|
||||
if (params !== undefined) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue