diff --git a/src/api/acl.js b/src/api/acl.js index d4a4a7f91..71226e14c 100644 --- a/src/api/acl.js +++ b/src/api/acl.js @@ -69,7 +69,7 @@ add.description = 'add a new ACL entry' // ------------------------------------------------------------------- export const remove = coroutine(function * ({subject, object}) { - yield this.acls.deconste(subject, object) + yield this.acls.delete(subject, object) }) remove.permission = 'admin' diff --git a/src/api/sr.js b/src/api/sr.js index 77097b47a..a07f4c2da 100644 --- a/src/api/sr.js +++ b/src/api/sr.js @@ -52,7 +52,7 @@ scan.resolve = { // ------------------------------------------------------------------- -// TODO: find a way to call this "deconste" and not destroy +// TODO: find a way to call this "delete" and not destroy export const destroy = coroutine(function ({SR}) { const xapi = this.getXAPI(SR)