diff options
author | Chocobozzz <me@florianbigard.com> | 2021-10-19 09:44:43 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-10-20 09:25:44 +0200 |
commit | 4beda9e12adc7b1f3b178cecd6863ebf3cf431f1 (patch) | |
tree | 6244a10b286d66c6dcd7799aee630670d0493781 /client/src/app/shared/shared-video-playlist | |
parent | 9593a78ae1368a9ad8bb11044fce6fde2892701a (diff) | |
download | PeerTube-4beda9e12adc7b1f3b178cecd6863ebf3cf431f1.tar.gz PeerTube-4beda9e12adc7b1f3b178cecd6863ebf3cf431f1.tar.zst PeerTube-4beda9e12adc7b1f3b178cecd6863ebf3cf431f1.zip |
Add ability to view my followers
Diffstat (limited to 'client/src/app/shared/shared-video-playlist')
-rw-r--r-- | client/src/app/shared/shared-video-playlist/video-playlist.service.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/shared/shared-video-playlist/video-playlist.service.ts b/client/src/app/shared/shared-video-playlist/video-playlist.service.ts index fc291329a..3faf81d11 100644 --- a/client/src/app/shared/shared-video-playlist/video-playlist.service.ts +++ b/client/src/app/shared/shared-video-playlist/video-playlist.service.ts | |||
@@ -62,7 +62,7 @@ export class VideoPlaylistService { | |||
62 | 62 | ||
63 | listChannelPlaylists (videoChannel: VideoChannel, componentPagination: ComponentPaginationLight): Observable<ResultList<VideoPlaylist>> { | 63 | listChannelPlaylists (videoChannel: VideoChannel, componentPagination: ComponentPaginationLight): Observable<ResultList<VideoPlaylist>> { |
64 | const url = VideoChannelService.BASE_VIDEO_CHANNEL_URL + videoChannel.nameWithHost + '/video-playlists' | 64 | const url = VideoChannelService.BASE_VIDEO_CHANNEL_URL + videoChannel.nameWithHost + '/video-playlists' |
65 | const pagination = this.restService.componentPaginationToRestPagination(componentPagination) | 65 | const pagination = this.restService.componentToRestPagination(componentPagination) |
66 | 66 | ||
67 | let params = new HttpParams() | 67 | let params = new HttpParams() |
68 | params = this.restService.addRestGetParams(params, pagination) | 68 | params = this.restService.addRestGetParams(params, pagination) |
@@ -103,7 +103,7 @@ export class VideoPlaylistService { | |||
103 | ): Observable<ResultList<VideoPlaylist>> { | 103 | ): Observable<ResultList<VideoPlaylist>> { |
104 | const url = AccountService.BASE_ACCOUNT_URL + account.nameWithHost + '/video-playlists' | 104 | const url = AccountService.BASE_ACCOUNT_URL + account.nameWithHost + '/video-playlists' |
105 | const pagination = componentPagination | 105 | const pagination = componentPagination |
106 | ? this.restService.componentPaginationToRestPagination(componentPagination) | 106 | ? this.restService.componentToRestPagination(componentPagination) |
107 | : undefined | 107 | : undefined |
108 | 108 | ||
109 | let params = new HttpParams() | 109 | let params = new HttpParams() |
@@ -259,7 +259,7 @@ export class VideoPlaylistService { | |||
259 | componentPagination: ComponentPaginationLight | 259 | componentPagination: ComponentPaginationLight |
260 | }): Observable<ResultList<VideoPlaylistElement>> { | 260 | }): Observable<ResultList<VideoPlaylistElement>> { |
261 | const path = VideoPlaylistService.BASE_VIDEO_PLAYLIST_URL + options.videoPlaylistId + '/videos' | 261 | const path = VideoPlaylistService.BASE_VIDEO_PLAYLIST_URL + options.videoPlaylistId + '/videos' |
262 | const pagination = this.restService.componentPaginationToRestPagination(options.componentPagination) | 262 | const pagination = this.restService.componentToRestPagination(options.componentPagination) |
263 | 263 | ||
264 | let params = new HttpParams() | 264 | let params = new HttpParams() |
265 | params = this.restService.addRestGetParams(params, pagination) | 265 | params = this.restService.addRestGetParams(params, pagination) |