From 8a19bee1a1ee39f973bb37429e4f73c3f2873cdb Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 17 Aug 2018 15:45:42 +0200 Subject: Add ability to set a name to a channel --- server/tests/utils/videos/videos.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/tests/utils/videos/videos.ts') diff --git a/server/tests/utils/videos/videos.ts b/server/tests/utils/videos/videos.ts index b280cccda..592248144 100644 --- a/server/tests/utils/videos/videos.ts +++ b/server/tests/utils/videos/videos.ts @@ -199,13 +199,13 @@ function getAccountVideos ( function getVideoChannelVideos ( url: string, accessToken: string, - videoChannelId: number | string, + videoChannelName: string, start: number, count: number, sort?: string, query: { nsfw?: boolean } = {} ) { - const path = '/api/v1/video-channels/' + videoChannelId + '/videos' + const path = '/api/v1/video-channels/' + videoChannelName + '/videos' return makeGetRequest({ url, -- cgit v1.2.3