]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/utils/videos/video-abuses.ts
Add information concerning video privacy in my videos list
[github/Chocobozzz/PeerTube.git] / server / tests / utils / videos / video-abuses.ts
index f0080923446c128d586066f889afa74633b00f40..0d72bf457a8384a0fde325df6cad0a0c3a72be5e 100644 (file)
@@ -1,6 +1,6 @@
 import * as request from 'supertest'
 
-function reportVideoAbuse (url: string, token: string, videoId: number, reason: string, specialStatus = 204) {
+function reportVideoAbuse (url: string, token: string, videoId: number | string, reason: string, specialStatus = 204) {
   const path = '/api/v1/videos/' + videoId + '/abuse'
 
   return request(url)