diff --git a/templates/app/client/components/auth(auth)/auth.service.js b/templates/app/client/components/auth(auth)/auth.service.js index b4fc54758..a12ca43bd 100644 --- a/templates/app/client/components/auth(auth)/auth.service.js +++ b/templates/app/client/components/auth(auth)/auth.service.js @@ -189,7 +189,7 @@ export function AuthService($location, $http, $cookies, $q, appConfig, Util, Use * @return {Bool|Promise} */ isAdmin(...args) { - return Auth.hasRole(...Reflect.apply([].concat, ['admin'], args)); + return Auth.hasRole(Reflect.apply([].concat, ['admin'], args)); }, /**