diff options
Diffstat (limited to 'server/tests/utils/videos/videos.ts')
-rw-r--r-- | server/tests/utils/videos/videos.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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 ( | |||
199 | function getVideoChannelVideos ( | 199 | function getVideoChannelVideos ( |
200 | url: string, | 200 | url: string, |
201 | accessToken: string, | 201 | accessToken: string, |
202 | videoChannelId: number | string, | 202 | videoChannelName: string, |
203 | start: number, | 203 | start: number, |
204 | count: number, | 204 | count: number, |
205 | sort?: string, | 205 | sort?: string, |
206 | query: { nsfw?: boolean } = {} | 206 | query: { nsfw?: boolean } = {} |
207 | ) { | 207 | ) { |
208 | const path = '/api/v1/video-channels/' + videoChannelId + '/videos' | 208 | const path = '/api/v1/video-channels/' + videoChannelName + '/videos' |
209 | 209 | ||
210 | return makeGetRequest({ | 210 | return makeGetRequest({ |
211 | url, | 211 | url, |