diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-16 17:16:42 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-27 19:40:52 +0100 |
commit | 4610bc5b12eaa4bfd64fe3fd70c65e5b722aa22d (patch) | |
tree | 42a1deeaf6cd955036213310f4d0171e68b68910 /client/src/app/+admin | |
parent | 21e0727a84734cb0c81c1c9bb22a49b13e46fe5f (diff) | |
download | PeerTube-4610bc5b12eaa4bfd64fe3fd70c65e5b722aa22d.tar.gz PeerTube-4610bc5b12eaa4bfd64fe3fd70c65e5b722aa22d.tar.zst PeerTube-4610bc5b12eaa4bfd64fe3fd70c65e5b722aa22d.zip |
ApplicationFollow -> SeverFollow
Diffstat (limited to 'client/src/app/+admin')
-rw-r--r-- | client/src/app/+admin/follows/follows.routes.ts | 2 | ||||
-rw-r--r-- | client/src/app/+admin/follows/shared/follow.service.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/+admin/follows/follows.routes.ts b/client/src/app/+admin/follows/follows.routes.ts index b7d44f75b..e84c79e82 100644 --- a/client/src/app/+admin/follows/follows.routes.ts +++ b/client/src/app/+admin/follows/follows.routes.ts | |||
@@ -13,7 +13,7 @@ export const FollowsRoutes: Routes = [ | |||
13 | component: FollowsComponent, | 13 | component: FollowsComponent, |
14 | canActivate: [ UserRightGuard ], | 14 | canActivate: [ UserRightGuard ], |
15 | data: { | 15 | data: { |
16 | userRight: UserRight.MANAGE_APPLICATION_FOLLOW | 16 | userRight: UserRight.MANAGE_SERVER_FOLLOW |
17 | }, | 17 | }, |
18 | children: [ | 18 | children: [ |
19 | { | 19 | { |
diff --git a/client/src/app/+admin/follows/shared/follow.service.ts b/client/src/app/+admin/follows/shared/follow.service.ts index 3dc91dfca..d64361ee3 100644 --- a/client/src/app/+admin/follows/shared/follow.service.ts +++ b/client/src/app/+admin/follows/shared/follow.service.ts | |||
@@ -11,7 +11,7 @@ import { AccountFollow, ResultList } from '../../../../../../shared' | |||
11 | 11 | ||
12 | @Injectable() | 12 | @Injectable() |
13 | export class FollowService { | 13 | export class FollowService { |
14 | private static BASE_APPLICATION_URL = API_URL + '/api/v1/application' | 14 | private static BASE_APPLICATION_URL = API_URL + '/api/v1/server' |
15 | 15 | ||
16 | constructor ( | 16 | constructor ( |
17 | private authHttp: HttpClient, | 17 | private authHttp: HttpClient, |