diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-06-01 20:36:27 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-06-01 20:36:27 +0200 |
commit | a840d396093ef968f9512862197ac166a1ff9921 (patch) | |
tree | f7e4c93ee3ae8a44bd14fd1f7c74234eef7469ef /client/app/videos | |
parent | 575fdcece562b914149f89f5a5b96ab206648f09 (diff) | |
download | PeerTube-a840d396093ef968f9512862197ac166a1ff9921.tar.gz PeerTube-a840d396093ef968f9512862197ac166a1ff9921.tar.zst PeerTube-a840d396093ef968f9512862197ac166a1ff9921.zip |
Add authentication tokens to make friends/quit friends
Diffstat (limited to 'client/app/videos')
4 files changed, 4 insertions, 5 deletions
diff --git a/client/app/videos/shared/video.service.ts b/client/app/videos/shared/video.service.ts index 7b6519f00..a786b2ab2 100644 --- a/client/app/videos/shared/video.service.ts +++ b/client/app/videos/shared/video.service.ts | |||
@@ -5,7 +5,7 @@ import { Observable } from 'rxjs/Rx'; | |||
5 | import { Pagination } from './pagination.model'; | 5 | import { Pagination } from './pagination.model'; |
6 | import { Search } from '../../shared/index'; | 6 | import { Search } from '../../shared/index'; |
7 | import { SortField } from './sort-field.type'; | 7 | import { SortField } from './sort-field.type'; |
8 | import { AuthService } from '../../users/index'; | 8 | import { AuthService } from '../../shared/index'; |
9 | import { Video } from './video.model'; | 9 | import { Video } from './video.model'; |
10 | 10 | ||
11 | @Injectable() | 11 | @Injectable() |
diff --git a/client/app/videos/video-add/video-add.component.ts b/client/app/videos/video-add/video-add.component.ts index 619a4f4d8..e17b1b0f6 100644 --- a/client/app/videos/video-add/video-add.component.ts +++ b/client/app/videos/video-add/video-add.component.ts | |||
@@ -7,7 +7,7 @@ import { Router } from '@angular/router-deprecated'; | |||
7 | import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe'; | 7 | import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe'; |
8 | import { PROGRESSBAR_DIRECTIVES } from 'ng2-bootstrap/components/progressbar'; | 8 | import { PROGRESSBAR_DIRECTIVES } from 'ng2-bootstrap/components/progressbar'; |
9 | 9 | ||
10 | import { AuthService, User } from '../../users/index'; | 10 | import { AuthService, User } from '../../shared/index'; |
11 | 11 | ||
12 | @Component({ | 12 | @Component({ |
13 | selector: 'my-videos-add', | 13 | selector: 'my-videos-add', |
diff --git a/client/app/videos/video-list/video-list.component.ts b/client/app/videos/video-list/video-list.component.ts index 6322860be..baca00deb 100644 --- a/client/app/videos/video-list/video-list.component.ts +++ b/client/app/videos/video-list/video-list.component.ts | |||
@@ -10,8 +10,7 @@ import { | |||
10 | Video, | 10 | Video, |
11 | VideoService | 11 | VideoService |
12 | } from '../shared/index'; | 12 | } from '../shared/index'; |
13 | import { Search, SearchField } from '../../shared/index'; | 13 | import { AuthService, Search, SearchField, User } from '../../shared/index'; |
14 | import { AuthService, User } from '../../users/index'; | ||
15 | import { VideoMiniatureComponent } from './video-miniature.component'; | 14 | import { VideoMiniatureComponent } from './video-miniature.component'; |
16 | import { VideoSortComponent } from './video-sort.component'; | 15 | import { VideoSortComponent } from './video-sort.component'; |
17 | 16 | ||
diff --git a/client/app/videos/video-list/video-miniature.component.ts b/client/app/videos/video-list/video-miniature.component.ts index 3baa1ddd6..11b828ca6 100644 --- a/client/app/videos/video-list/video-miniature.component.ts +++ b/client/app/videos/video-list/video-miniature.component.ts | |||
@@ -3,7 +3,7 @@ import { Component, Input, Output, EventEmitter } from '@angular/core'; | |||
3 | import { ROUTER_DIRECTIVES } from '@angular/router-deprecated'; | 3 | import { ROUTER_DIRECTIVES } from '@angular/router-deprecated'; |
4 | 4 | ||
5 | import { Video, VideoService } from '../shared/index'; | 5 | import { Video, VideoService } from '../shared/index'; |
6 | import { User } from '../../users/index'; | 6 | import { User } from '../../shared/index'; |
7 | 7 | ||
8 | @Component({ | 8 | @Component({ |
9 | selector: 'my-video-miniature', | 9 | selector: 'my-video-miniature', |