aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/utils/videos/video-blacklist.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/utils/videos/video-blacklist.ts')
-rw-r--r--server/tests/utils/videos/video-blacklist.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/utils/videos/video-blacklist.ts b/server/tests/utils/videos/video-blacklist.ts
index 3a499f46a..aa0d232b6 100644
--- a/server/tests/utils/videos/video-blacklist.ts
+++ b/server/tests/utils/videos/video-blacklist.ts
@@ -10,7 +10,7 @@ function addVideoToBlacklist (url: string, token: string, videoId: number, speci
10 .expect(specialStatus) 10 .expect(specialStatus)
11} 11}
12 12
13function removeVideoFromBlacklist (url: string, token: string, videoId: number, specialStatus = 204) { 13function removeVideoFromBlacklist (url: string, token: string, videoId: number | string, specialStatus = 204) {
14 const path = '/api/v1/videos/' + videoId + '/blacklist' 14 const path = '/api/v1/videos/' + videoId + '/blacklist'
15 15
16 return request(url) 16 return request(url)