diff options
Diffstat (limited to 'server/lib/activitypub/send')
-rw-r--r-- | server/lib/activitypub/send/send-update.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/activitypub/send/send-update.ts b/server/lib/activitypub/send/send-update.ts index cb14b8dbf..9c76671b5 100644 --- a/server/lib/activitypub/send/send-update.ts +++ b/server/lib/activitypub/send/send-update.ts | |||
@@ -35,7 +35,7 @@ async function sendUpdateVideo (videoArg: MVideoAPWithoutCaption, t: Transaction | |||
35 | 35 | ||
36 | // Needed to build the AP object | 36 | // Needed to build the AP object |
37 | if (!video.VideoCaptions) { | 37 | if (!video.VideoCaptions) { |
38 | video.VideoCaptions = await video.$get('VideoCaptions', { transaction: t }) as VideoCaptionModel[] | 38 | video.VideoCaptions = await video.$get('VideoCaptions', { transaction: t }) |
39 | } | 39 | } |
40 | 40 | ||
41 | const videoObject = video.toActivityPubObject() | 41 | const videoObject = video.toActivityPubObject() |