remove duplicate uploadVideo.originallyPublishedAt

duplicate was appending as array to form-data
pull/1635/head
Josh Morel 2019-02-13 10:19:13 -05:00 committed by Chocobozzz
parent c74c9be934
commit 7f40ce5324
1 changed files with 0 additions and 3 deletions

View File

@ -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])