diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-09-07 21:46:44 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-09-07 21:46:44 +0200 |
commit | e95561cdf195d2926e1856ed285c2b86960bc86f (patch) | |
tree | 7f25c340e307fcbb13f77769b64e75603520ecc6 /server/tests/utils/videos.ts | |
parent | 0cee28c1b251b00067681286d136ca947cf34808 (diff) | |
download | PeerTube-e95561cdf195d2926e1856ed285c2b86960bc86f.tar.gz PeerTube-e95561cdf195d2926e1856ed285c2b86960bc86f.tar.zst PeerTube-e95561cdf195d2926e1856ed285c2b86960bc86f.zip |
Upload a video to /videos/upload
This is an action, not a REST endpoint
Diffstat (limited to 'server/tests/utils/videos.ts')
-rw-r--r-- | server/tests/utils/videos.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
163 | } | 163 | } |
164 | 164 | ||
165 | function uploadVideo (url: string, accessToken: string, videoAttributesArg: VideoAttributes, specialStatus = 204) { | 165 | function uploadVideo (url: string, accessToken: string, videoAttributesArg: VideoAttributes, specialStatus = 204) { |
166 | const path = '/api/v1/videos' | 166 | const path = '/api/v1/videos/upload' |
167 | 167 | ||
168 | // Default attributes | 168 | // Default attributes |
169 | let attributes = { | 169 | let attributes = { |