diff options
Diffstat (limited to 'server/lib')
-rw-r--r-- | server/lib/activitypub/videos.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/lib/activitypub/videos.ts b/server/lib/activitypub/videos.ts index be6794cef..907f7e11e 100644 --- a/server/lib/activitypub/videos.ts +++ b/server/lib/activitypub/videos.ts | |||
@@ -93,6 +93,7 @@ async function videoActivityObjectToDBAttributes (videoChannel: VideoChannelMode | |||
93 | channelId: videoChannel.id, | 93 | channelId: videoChannel.id, |
94 | duration: parseInt(duration, 10), | 94 | duration: parseInt(duration, 10), |
95 | createdAt: new Date(videoObject.published), | 95 | createdAt: new Date(videoObject.published), |
96 | publishedAt: new Date(videoObject.published), | ||
96 | // FIXME: updatedAt does not seems to be considered by Sequelize | 97 | // FIXME: updatedAt does not seems to be considered by Sequelize |
97 | updatedAt: new Date(videoObject.updated), | 98 | updatedAt: new Date(videoObject.updated), |
98 | views: videoObject.views, | 99 | views: videoObject.views, |