diff options
Diffstat (limited to 'server/lib/activitypub/actor.ts')
-rw-r--r-- | server/lib/activitypub/actor.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/activitypub/actor.ts b/server/lib/activitypub/actor.ts index b0cf9bb17..5773fc34f 100644 --- a/server/lib/activitypub/actor.ts +++ b/server/lib/activitypub/actor.ts | |||
@@ -353,7 +353,7 @@ async function saveVideoChannel (actor: ActorModel, result: FetchRemoteActorResu | |||
353 | return videoChannelCreated | 353 | return videoChannelCreated |
354 | } | 354 | } |
355 | 355 | ||
356 | async function refreshActorIfNeeded (actor: ActorModel) { | 356 | async function refreshActorIfNeeded (actor: ActorModel): Promise<ActorModel> { |
357 | if (!actor.isOutdated()) return actor | 357 | if (!actor.isOutdated()) return actor |
358 | 358 | ||
359 | try { | 359 | try { |