Fix deletion of roles
This is currently broken in the UI
This commit is contained in:
parent
f02d295dd8
commit
2ddede7857
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