]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/utils/videos/video-blacklist.ts
Merge branch 'release/beta-10' into develop
[github/Chocobozzz/PeerTube.git] / server / tests / utils / videos / video-blacklist.ts
index 3a499f46a75302c10da442be13caf39b10751181..aa0d232b6c5b23ef6fb503f5608c7024fea9400f 100644 (file)
@@ -10,7 +10,7 @@ function addVideoToBlacklist (url: string, token: string, videoId: number, speci
           .expect(specialStatus)
 }
 
-function removeVideoFromBlacklist (url: string, token: string, videoId: number, specialStatus = 204) {
+function removeVideoFromBlacklist (url: string, token: string, videoId: number | string, specialStatus = 204) {
   const path = '/api/v1/videos/' + videoId + '/blacklist'
 
   return request(url)