diff --git a/projects/common/src/fm/common-service.module.ts b/projects/common/src/fm/common-service.module.ts index 211a7e4..a5e6ebd 100644 --- a/projects/common/src/fm/common-service.module.ts +++ b/projects/common/src/fm/common-service.module.ts @@ -22,6 +22,7 @@ import { AccessTokenInterceptor } from "./shared/accesstoken.interceptor"; import { appConfigFactory } from "./shared/app.config.factory"; import { AuthGuard } from './services/auth-guard.service'; import { NavBarGuard } from './services/nav-bar-guard.service'; +import { PackageGuard } from './services/package-guard.service'; import { FullScreenGuard } from './services/full-screen-guard.service'; import { AuthCallbackGuard } from './components/auth-callback/auth-callback.guard'; import { ResumableFileUploadService } from './components/resumable-file-upload/resumable-file-upload.service'; @@ -46,6 +47,7 @@ export { AccessTokenInterceptor, AuthGuard, NavBarGuard, + PackageGuard, FullScreenGuard, AuthCallbackGuard, ResumableFileUploadService, diff --git a/projects/common/src/fm/services/package-guard.service.ts b/projects/common/src/fm/services/package-guard.service.ts index 8cc41ea..74004fc 100644 --- a/projects/common/src/fm/services/package-guard.service.ts +++ b/projects/common/src/fm/services/package-guard.service.ts @@ -5,7 +5,7 @@ import {PackageService} from './package.service'; @Injectable({ providedIn: 'root', }) -export class PackageGuardService implements CanActivate { +export class PackageGuard implements CanActivate { constructor(private packageService: PackageService) { }