From e95561cdf195d2926e1856ed285c2b86960bc86f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 7 Sep 2017 21:46:44 +0200 Subject: Upload a video to /videos/upload This is an action, not a REST endpoint --- server/tests/utils/videos.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/tests/utils') diff --git a/server/tests/utils/videos.ts b/server/tests/utils/videos.ts index 83271beca..0de506cd9 100644 --- a/server/tests/utils/videos.ts +++ b/server/tests/utils/videos.ts @@ -163,7 +163,7 @@ async function testVideoImage (url: string, imageName: string, imagePath: string } function uploadVideo (url: string, accessToken: string, videoAttributesArg: VideoAttributes, specialStatus = 204) { - const path = '/api/v1/videos' + const path = '/api/v1/videos/upload' // Default attributes let attributes = { -- cgit v1.2.3