Skip to content

Commit 797cda1

Browse files
author
Costica Puntaru
committed
fixing missing param error
1 parent b96a457 commit 797cda1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/permission.svc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383

8484
// If no roles left to validate reject promise
8585
if (!currentRole) {
86-
return $q.reject();
86+
return deferred.reject();
8787
}
8888
// Validate role definition exists
8989
if (!angular.isFunction(Permission.roleValidations[currentRole])) {

0 commit comments

Comments
 (0)