Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

remove duplicate uploadVideo.originallyPublishedAt

Josh Morel7f40ce53243b
diff --git a/shared/utils/videos/videos.ts b/shared/utils/videos/videos.ts
index 5d43d9061f..b3d24bc53d 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])