From 7f40ce53243be994a3cf093e07eb1d460f696b10 Mon Sep 17 00:00:00 2001 From: Josh Morel Date: Wed, 13 Feb 2019 10:19:13 -0500 Subject: remove duplicate uploadVideo.originallyPublishedAt duplicate was appending as array to form-data --- shared/utils/videos/videos.ts | 3 --- 1 file changed, 3 deletions(-) (limited to 'shared') 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]) -- cgit v1.2.3