From: Josh Morel Date: Wed, 13 Feb 2019 15:19:13 +0000 (-0500) Subject: remove duplicate uploadVideo.originallyPublishedAt X-Git-Tag: v1.3.0-rc.1~195 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7f40ce53243be994a3cf093e07eb1d460f696b10;p=oweals%2Fpeertube.git remove duplicate uploadVideo.originallyPublishedAt duplicate was appending as array to form-data --- diff --git a/shared/utils/videos/videos.ts b/shared/utils/videos/videos.ts index 5d43d9061..b3d24bc53 100644 --- a/shared/utils/videos/videos.ts +++ b/shared/utils/videos/videos.ts @@ -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])