mirror of https://github.com/Chocobozzz/PeerTube
remove duplicate uploadVideo.originallyPublishedAt
duplicate was appending as array to form-datapull/1635/head
parent
c74c9be934
commit
7f40ce5324
|
@ -350,9 +350,6 @@ async function uploadVideo (url: string, accessToken: string, videoAttributesArg
|
|||
if (attributes.licence !== undefined) {
|
||||
req.field('licence', attributes.licence.toString())
|
||||
}
|
||||
if (attributes.originallyPublishedAt !== undefined) {
|
||||
req.field('originallyPublishedAt', attributes.originallyPublishedAt)
|
||||
}
|
||||
|
||||
for (let i = 0; i < attributes.tags.length; i++) {
|
||||
req.field('tags[' + i + ']', attributes.tags[i])
|
||||
|
|
Loading…
Reference in New Issue