]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/extra-utils/videos/videos.ts
Increase ffmpeg error test timeout
[github/Chocobozzz/PeerTube.git] / shared / extra-utils / videos / videos.ts
index 0b6a540462cba3c1aa60d67704a151e2409895fd..67fe82d41883f743cb319b0af743823b003f453b 100644 (file)
@@ -498,7 +498,7 @@ function updateVideo (
   })
 }
 
-function rateVideo (url: string, accessToken: string, id: number, rating: string, specialStatus = HttpStatusCode.NO_CONTENT_204) {
+function rateVideo (url: string, accessToken: string, id: number | string, rating: string, specialStatus = HttpStatusCode.NO_CONTENT_204) {
   const path = '/api/v1/videos/' + id + '/rate'
 
   return request(url)