Merge pull request #1491 from coreos-inc/fix-delete-role
Fix deletion of roles
This commit is contained in:
commit
f3d9f76b22
1 changed files with 2 additions and 2 deletions
|
@ -32,10 +32,10 @@ angular.module('quay').factory('RolesService', ['UtilService', 'Restangular', 'A
|
|||
callback(false);
|
||||
});
|
||||
|
||||
var endpoint = getPermissionEndpoint(repository, entityName, kind);
|
||||
var endpoint = getPermissionEndpoint(repository, entityName, entityKind);
|
||||
endpoint.customDELETE().then(function() {
|
||||
callback(true);
|
||||
}, errorHandler);
|
||||
}, errorDisplay);
|
||||
};
|
||||
|
||||
roleService.setRepositoryRole = function(repository, role, entityKind, entityName, callback) {
|
||||
|
|
Reference in a new issue