From 8ac88212c9f3511f463cdbbbd1af0de035ecee2d Mon Sep 17 00:00:00 2001 From: Andrew Koroluk Date: Wed, 17 May 2017 11:59:26 -0400 Subject: [PATCH] fix(client:auth): fix isAdmin call fixes #2561 --- templates/app/client/components/auth(auth)/auth.service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); }, /**