diff --git a/packages/adapter-commons/lib/service.js b/packages/adapter-commons/lib/service.js index 2e2780075a..9e6dfc76c6 100644 --- a/packages/adapter-commons/lib/service.js +++ b/packages/adapter-commons/lib/service.js @@ -82,11 +82,11 @@ module.exports = class AdapterService { return callMethod(this, '_patch', id, data, params); } - remove (id, data, params) { + remove (id, params) { if (id === null && !checkMulti('remove', this.options.multi)) { return Promise.reject(new MethodNotAllowed(`Can not remove multiple entries`)); } - return callMethod(this, '_remove', id, data, params); + return callMethod(this, '_remove', id, params); } };