From ba75d268596bc7b289bacf1cc4cb53493d6ad444 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 1 Feb 2018 11:08:10 +0100 Subject: Send an email on video abuse report --- server/tests/utils/videos/video-abuses.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/tests/utils/videos/video-abuses.ts') 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 @@ 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) -- cgit v1.2.3