From 978c87e7f58b6673fe60f04f1767bc9e02ea4936 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 20 Oct 2021 09:05:43 +0200 Subject: Add channel filters for my videos/followers --- shared/extra-utils/videos/videos-command.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'shared/extra-utils/videos/videos-command.ts') 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 { sort?: string search?: string isLive?: boolean + channelId?: number } = {}) { const path = '/api/v1/users/me/videos' @@ -214,7 +215,7 @@ export class VideosCommand extends AbstractCommand { ...options, path, - query: pick(options, [ 'start', 'count', 'sort', 'search', 'isLive' ]), + query: pick(options, [ 'start', 'count', 'sort', 'search', 'isLive', 'channelId' ]), implicitToken: true, defaultExpectedStatus: HttpStatusCode.OK_200 }) -- cgit v1.2.3