Fix deletion of roles

This is currently broken in the UI
This commit is contained in:
Joseph Schorr 2016-05-24 11:44:59 -04:00
parent f02d295dd8
commit 2ddede7857

View file

@ -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) {