diff --git a/Frontend/app/Services/AuthService.js b/Frontend/app/Services/AuthService.js index 1a9a051..76d5bcd 100644 --- a/Frontend/app/Services/AuthService.js +++ b/Frontend/app/Services/AuthService.js @@ -16,7 +16,7 @@ angular.module('app') }, - service.isLogged = function(){ return $localStorage.UserDetails !== undefined}; + service.isLogged = () => { return $localStorage.UserDetails }; return service;