diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-01 17:41:03 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-01 17:41:03 +0200 |
commit | 674d903b0e993b3a67836f3dabba80282d9900ab (patch) | |
tree | 0318fb7e89827a63a5257ebb250f2915be085a5b /client/src/app/shared/shared-main | |
parent | 8b61dcaf23a66d508c05641c9c09747bf03cdb48 (diff) | |
download | PeerTube-674d903b0e993b3a67836f3dabba80282d9900ab.tar.gz PeerTube-674d903b0e993b3a67836f3dabba80282d9900ab.tar.zst PeerTube-674d903b0e993b3a67836f3dabba80282d9900ab.zip |
Support accountHandle and channelHandle
Diffstat (limited to 'client/src/app/shared/shared-main')
-rw-r--r-- | client/src/app/shared/shared-main/video/video.service.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/shared/shared-main/video/video.service.ts b/client/src/app/shared/shared-main/video/video.service.ts index 1410edd18..ac640c791 100644 --- a/client/src/app/shared/shared-main/video/video.service.ts +++ b/client/src/app/shared/shared-main/video/video.service.ts | |||
@@ -145,7 +145,7 @@ export class VideoService implements VideosProvider { | |||
145 | } | 145 | } |
146 | 146 | ||
147 | getAccountVideos (parameters: { | 147 | getAccountVideos (parameters: { |
148 | account: Account, | 148 | account: Pick<Account, 'nameWithHost'>, |
149 | videoPagination: ComponentPaginationLight, | 149 | videoPagination: ComponentPaginationLight, |
150 | sort: VideoSortField | 150 | sort: VideoSortField |
151 | nsfwPolicy?: NSFWPolicyType | 151 | nsfwPolicy?: NSFWPolicyType |
@@ -180,7 +180,7 @@ export class VideoService implements VideosProvider { | |||
180 | } | 180 | } |
181 | 181 | ||
182 | getVideoChannelVideos (parameters: { | 182 | getVideoChannelVideos (parameters: { |
183 | videoChannel: VideoChannel, | 183 | videoChannel: Pick<VideoChannel, 'nameWithHost'>, |
184 | videoPagination: ComponentPaginationLight, | 184 | videoPagination: ComponentPaginationLight, |
185 | sort: VideoSortField, | 185 | sort: VideoSortField, |
186 | nsfwPolicy?: NSFWPolicyType | 186 | nsfwPolicy?: NSFWPolicyType |