From efc32059d980c51793e8e9ac0fb6a885a8026f94 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 16 Nov 2017 11:08:25 +0100 Subject: Send server announce when users upload a video --- shared/models/activitypub/objects/video-channel-object.ts | 4 ++-- shared/models/activitypub/objects/video-torrent-object.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'shared/models/activitypub') diff --git a/shared/models/activitypub/objects/video-channel-object.ts b/shared/models/activitypub/objects/video-channel-object.ts index 468e1535e..c9325b5df 100644 --- a/shared/models/activitypub/objects/video-channel-object.ts +++ b/shared/models/activitypub/objects/video-channel-object.ts @@ -4,7 +4,7 @@ export interface VideoChannelObject { name: string content: string uuid: string - published: Date - updated: Date + published: string + updated: string actor?: string } diff --git a/shared/models/activitypub/objects/video-torrent-object.ts b/shared/models/activitypub/objects/video-torrent-object.ts index 99e7157b8..ae8f807c8 100644 --- a/shared/models/activitypub/objects/video-torrent-object.ts +++ b/shared/models/activitypub/objects/video-torrent-object.ts @@ -17,8 +17,8 @@ export interface VideoTorrentObject { language: ActivityIdentifierObject views: number nsfw: boolean - published: Date - updated: Date + published: string + updated: string mediaType: 'text/markdown' content: string icon: ActivityIconObject -- cgit v1.2.3