mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 17:59:37 +02:00
Change name of fields for add video api
This commit is contained in:
parent
a4c1575197
commit
8c9c1942f6
5 changed files with 13 additions and 13 deletions
|
@ -185,7 +185,7 @@ function uploadVideo (url, name, description, fixture, end) {
|
|||
.set('Accept', 'application/json')
|
||||
.field('name', name)
|
||||
.field('description', description)
|
||||
.attach('input_video', pathUtils.join(__dirname, 'fixtures', fixture))
|
||||
.attach('videofile', pathUtils.join(__dirname, 'fixtures', fixture))
|
||||
.expect(204)
|
||||
.end(end)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue