diff options
Diffstat (limited to 'client/src/app/videos/+video-watch/comment/video-comment.service.ts')
-rw-r--r-- | client/src/app/videos/+video-watch/comment/video-comment.service.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/videos/+video-watch/comment/video-comment.service.ts b/client/src/app/videos/+video-watch/comment/video-comment.service.ts index 470af1230..0bf7696fe 100644 --- a/client/src/app/videos/+video-watch/comment/video-comment.service.ts +++ b/client/src/app/videos/+video-watch/comment/video-comment.service.ts | |||
@@ -14,7 +14,7 @@ import { | |||
14 | import { environment } from '../../../../environments/environment' | 14 | import { environment } from '../../../../environments/environment' |
15 | import { RestExtractor, RestService } from '../../../shared/rest' | 15 | import { RestExtractor, RestService } from '../../../shared/rest' |
16 | import { ComponentPagination } from '../../../shared/rest/component-pagination.model' | 16 | import { ComponentPagination } from '../../../shared/rest/component-pagination.model' |
17 | import { SortField } from '../../../shared/video/sort-field.type' | 17 | import { VideoSortField } from '../../../shared/video/sort-field.type' |
18 | import { VideoComment } from './video-comment.model' | 18 | import { VideoComment } from './video-comment.model' |
19 | 19 | ||
20 | @Injectable() | 20 | @Injectable() |
@@ -48,7 +48,7 @@ export class VideoCommentService { | |||
48 | getVideoCommentThreads ( | 48 | getVideoCommentThreads ( |
49 | videoId: number | string, | 49 | videoId: number | string, |
50 | componentPagination: ComponentPagination, | 50 | componentPagination: ComponentPagination, |
51 | sort: SortField | 51 | sort: VideoSortField |
52 | ): Observable<{ comments: VideoComment[], totalComments: number}> { | 52 | ): Observable<{ comments: VideoComment[], totalComments: number}> { |
53 | const pagination = this.restService.componentPaginationToRestPagination(componentPagination) | 53 | const pagination = this.restService.componentPaginationToRestPagination(componentPagination) |
54 | 54 | ||