Skip to content

Commit 1735d41

Browse files
authored
Merge pull request #2576 from angular-fullstack/fix/client-isadmin-reflect
fix(client:auth): fix isAdmin call
2 parents b87311b + 8ac8821 commit 1735d41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: templates/app/client/components/auth(auth)/auth.service.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ export function AuthService($location, $http, $cookies, $q, appConfig, Util, Use
189189
* @return {Bool|Promise}
190190
*/
191191
isAdmin(...args) {
192-
return Auth.hasRole(...Reflect.apply([].concat, ['admin'], args));
192+
return Auth.hasRole(Reflect.apply([].concat, ['admin'], args));
193193
},
194194

195195
/**

0 commit comments

Comments
 (0)