aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/utils/videos
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/utils/videos')
-rw-r--r--server/tests/utils/videos/video-abuses.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/utils/videos/video-abuses.ts b/server/tests/utils/videos/video-abuses.ts
index f00809234..0d72bf457 100644
--- a/server/tests/utils/videos/video-abuses.ts
+++ b/server/tests/utils/videos/video-abuses.ts
@@ -1,6 +1,6 @@
1import * as request from 'supertest' 1import * as request from 'supertest'
2 2
3function reportVideoAbuse (url: string, token: string, videoId: number, reason: string, specialStatus = 204) { 3function reportVideoAbuse (url: string, token: string, videoId: number | string, reason: string, specialStatus = 204) {
4 const path = '/api/v1/videos/' + videoId + '/abuse' 4 const path = '/api/v1/videos/' + videoId + '/abuse'
5 5
6 return request(url) 6 return request(url)