diff options
Diffstat (limited to 'shared/extra-utils')
-rw-r--r-- | shared/extra-utils/videos/videos-command.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shared/extra-utils/videos/videos-command.ts b/shared/extra-utils/videos/videos-command.ts index 99f56a34c..c1a9ec806 100644 --- a/shared/extra-utils/videos/videos-command.ts +++ b/shared/extra-utils/videos/videos-command.ts | |||
@@ -207,6 +207,7 @@ export class VideosCommand extends AbstractCommand { | |||
207 | sort?: string | 207 | sort?: string |
208 | search?: string | 208 | search?: string |
209 | isLive?: boolean | 209 | isLive?: boolean |
210 | channelId?: number | ||
210 | } = {}) { | 211 | } = {}) { |
211 | const path = '/api/v1/users/me/videos' | 212 | const path = '/api/v1/users/me/videos' |
212 | 213 | ||
@@ -214,7 +215,7 @@ export class VideosCommand extends AbstractCommand { | |||
214 | ...options, | 215 | ...options, |
215 | 216 | ||
216 | path, | 217 | path, |
217 | query: pick(options, [ 'start', 'count', 'sort', 'search', 'isLive' ]), | 218 | query: pick(options, [ 'start', 'count', 'sort', 'search', 'isLive', 'channelId' ]), |
218 | implicitToken: true, | 219 | implicitToken: true, |
219 | defaultExpectedStatus: HttpStatusCode.OK_200 | 220 | defaultExpectedStatus: HttpStatusCode.OK_200 |
220 | }) | 221 | }) |