Browse Source

Set delete method's defafult argument

pull/1233/head
Hironsan 3 years ago
parent
commit
d7c4fe3f16
1 changed files with 1 additions and 1 deletions
  1. 2
      frontend/services/api.service.js

2
frontend/services/api.service.js

@ -40,7 +40,7 @@ class ApiService {
return this.request('PATCH', url, data, config)
}
delete(url, data, config = {}) {
delete(url, data = {}, config = {}) {
return this.request('DELETE', url, data, config)
}
}

Loading…
Cancel
Save