Commit 80be6bf1 authored by Patricio Bruna's avatar Patricio Bruna

fixed removeAdmin with coses

parent 3fbf7446
......@@ -30748,7 +30748,7 @@ return /******/ (function(modules) { // webpackBootstrap
module.exports = {
"name": "zimbra-admin-api-js",
"version": "0.2.9",
"version": "0.2.10",
"main": "lib/zimbra-admin-api.js",
"dependencies": {
"crypto-browserify": "^3.11.0",
......@@ -31922,7 +31922,7 @@ return /******/ (function(modules) { // webpackBootstrap
}
}, {
key: 'removeAdmin',
value: function removeAdmin(account_id, callback) {
value: function removeAdmin(account_id, coses, callback) {
var _this5 = this;
var grantee_data = {
......
{
"name": "zimbra-admin-api-js",
"version": "0.2.9",
"version": "0.2.10",
"main": "lib/zimbra-admin-api.js",
"dependencies": {
"crypto-browserify": "^3.11.0",
......
......@@ -133,7 +133,7 @@ class Domain extends Zimbra {
return results;
}
removeAdmin(account_id, callback) {
removeAdmin(account_id, coses, callback) {
const grantee_data = {
'type': 'usr',
'identifier': account_id
......
......@@ -569,7 +569,7 @@
let resource_name = Date.now() + '.dev';
api.createDomain(resource_name, {}, function(err, domain){
domain.addAdmin(domain_admin, [], function(e, d){
domain.removeAdmin(domain_admin, function(e, d){
domain.removeAdmin(domain_admin, [], function(e, d){
domain.getACLs(function(e, d){
if (e) return console.error(e);
expect(d.length).to.be.equal(0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment