From 7b3909644dd7cb8be1caad537bb40605e5f059d4 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Mon, 27 Jul 2020 17:00:39 +0200 Subject: test search for subscriptions and video-channels --- shared/extra-utils/videos/video-channels.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'shared/extra-utils/videos') diff --git a/shared/extra-utils/videos/video-channels.ts b/shared/extra-utils/videos/video-channels.ts index 55f08b996..97b68178f 100644 --- a/shared/extra-utils/videos/video-channels.ts +++ b/shared/extra-utils/videos/video-channels.ts @@ -32,8 +32,9 @@ function getAccountVideoChannelsList (parameters: { sort?: string specialStatus?: number withStats?: boolean + search?: string }) { - const { url, accountName, start, count, sort = 'createdAt', specialStatus = 200, withStats = false } = parameters + const { url, accountName, start, count, sort = 'createdAt', specialStatus = 200, withStats = false, search } = parameters const path = '/api/v1/accounts/' + accountName + '/video-channels' @@ -44,7 +45,8 @@ function getAccountVideoChannelsList (parameters: { start, count, sort, - withStats + withStats, + search }, statusCodeExpected: specialStatus }) -- cgit v1.2.3