Skip to content

Commit 5f6d0e4

Browse files
committed
fix(admin): import service to AuthGuard by npm scope
* used correct import for service
1 parent 4d6de8f commit 5f6d0e4

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

apps/admin-gui/src/app/shared/route-auth-guard.service.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@ import {
77
UrlTree,
88
} from '@angular/router';
99
import { Observable } from 'rxjs';
10-
import { GuiAuthResolver, NotificatorService } from '@perun-web-apps/perun/services';
10+
import {
11+
GuiAuthResolver,
12+
NotificatorService,
13+
RoutePolicyService,
14+
} from '@perun-web-apps/perun/services';
1115
import { PerunBean } from '@perun-web-apps/perun/openapi';
12-
import { RoutePolicyService } from '../../../../../libs/perun/services/src/lib/route-policy.service';
1316

1417
interface AuthPair {
1518
key: string;

libs/perun/services/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ export { PDFService } from './lib/pdf.service';
1919
export { OtherApplicationsService } from './lib/other-applications.service';
2020
export { CustomMatPaginator } from './lib/custom-mat-paginator';
2121
export { EntityStorageService } from './lib/entity-storage.service';
22+
export { RoutePolicyService } from './lib/route-policy.service';

0 commit comments

Comments
 (0)