aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-main/router/actor-redirect-guard.service.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/shared/shared-main/router/actor-redirect-guard.service.ts')
-rw-r--r--client/src/app/shared/shared-main/router/actor-redirect-guard.service.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/shared/shared-main/router/actor-redirect-guard.service.ts b/client/src/app/shared/shared-main/router/actor-redirect-guard.service.ts
index ce185829c..53a48f8a1 100644
--- a/client/src/app/shared/shared-main/router/actor-redirect-guard.service.ts
+++ b/client/src/app/shared/shared-main/router/actor-redirect-guard.service.ts
@@ -1,12 +1,12 @@
1import { forkJoin, of } from 'rxjs' 1import { forkJoin, of } from 'rxjs'
2import { catchError, map } from 'rxjs/operators' 2import { catchError, map } from 'rxjs/operators'
3import { Injectable } from '@angular/core' 3import { Injectable } from '@angular/core'
4import { ActivatedRouteSnapshot, CanActivate, Router } from '@angular/router' 4import { ActivatedRouteSnapshot, Router } from '@angular/router'
5import { AccountService } from '../account' 5import { AccountService } from '../account'
6import { VideoChannelService } from '../video-channel' 6import { VideoChannelService } from '../video-channel'
7 7
8@Injectable() 8@Injectable()
9export class ActorRedirectGuard implements CanActivate { 9export class ActorRedirectGuard {
10 10
11 constructor ( 11 constructor (
12 private router: Router, 12 private router: Router,