diff options
Diffstat (limited to 'server/lib')
-rw-r--r-- | server/lib/activitypub/send/send-update.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/lib/activitypub/send/send-update.ts b/server/lib/activitypub/send/send-update.ts index 3a5cc1853..37517c2be 100644 --- a/server/lib/activitypub/send/send-update.ts +++ b/server/lib/activitypub/send/send-update.ts | |||
@@ -12,10 +12,10 @@ import { VideoCaptionModel } from '../../../models/video/video-caption' | |||
12 | import { VideoPlaylistPrivacy } from '../../../../shared/models/videos/playlist/video-playlist-privacy.model' | 12 | import { VideoPlaylistPrivacy } from '../../../../shared/models/videos/playlist/video-playlist-privacy.model' |
13 | import { getServerActor } from '../../../helpers/utils' | 13 | import { getServerActor } from '../../../helpers/utils' |
14 | import { | 14 | import { |
15 | MAccountActor, | 15 | MAccountDefault, |
16 | MActor, | 16 | MActor, |
17 | MActorLight, | 17 | MActorLight, |
18 | MChannelActor, | 18 | MChannelDefault, |
19 | MVideoAP, | 19 | MVideoAP, |
20 | MVideoAPWithoutCaption, | 20 | MVideoAPWithoutCaption, |
21 | MVideoPlaylistFull, | 21 | MVideoPlaylistFull, |
@@ -49,7 +49,7 @@ async function sendUpdateVideo (videoArg: MVideoAPWithoutCaption, t: Transaction | |||
49 | return broadcastToFollowers(updateActivity, byActor, actorsInvolved, t) | 49 | return broadcastToFollowers(updateActivity, byActor, actorsInvolved, t) |
50 | } | 50 | } |
51 | 51 | ||
52 | async function sendUpdateActor (accountOrChannel: MAccountActor | MChannelActor, t: Transaction) { | 52 | async function sendUpdateActor (accountOrChannel: MChannelDefault | MAccountDefault, t: Transaction) { |
53 | const byActor = accountOrChannel.Actor | 53 | const byActor = accountOrChannel.Actor |
54 | 54 | ||
55 | logger.info('Creating job to update actor %s.', byActor.url) | 55 | logger.info('Creating job to update actor %s.', byActor.url) |