FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(client:auth:guard): declare `authService` on class · angular-fullstack/generator-angular-fullstack@afc725f · GitHub

This repository was archived by the owner on Jul 29, 2026. It is now read-only.

Commit afc725f

Browse files
committed
fix(client:auth:guard): declare authService on class
1 parent 2d6c2a6 commit afc725f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎templates/app/client/components/auth(auth)/auth-guard.service.js‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ import { AuthService } from './auth.service';
55

66
@Injectable()
77
export class AuthGuard implements CanActivate {
8+
authService;
9+
810
static parameters = [AuthService];
911
constructor(authService: AuthService) {
1012
this.authService = authService;

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL