From d7c4fe3f16038c78ad66f3bcae824b6910c5c2b2 Mon Sep 17 00:00:00 2001 From: Hironsan Date: Thu, 4 Mar 2021 10:34:32 +0900 Subject: [PATCH] Set delete method's defafult argument --- frontend/services/api.service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/services/api.service.js b/frontend/services/api.service.js index e12d8476..3c7748ba 100644 --- a/frontend/services/api.service.js +++ b/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) } }