From 792e5b8e5b731e15228dd5938bc2f99bb2e1070a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 2 Oct 2018 09:04:19 +0200 Subject: Try to improve redundancy tests --- server/lib/activitypub/videos.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'server/lib/activitypub') diff --git a/server/lib/activitypub/videos.ts b/server/lib/activitypub/videos.ts index cd1bc4e06..54cea542f 100644 --- a/server/lib/activitypub/videos.ts +++ b/server/lib/activitypub/videos.ts @@ -396,6 +396,8 @@ async function refreshVideoIfNeeded (options: { } await retryTransactionWrapper(updateVideoFromAP, updateOptions) await syncVideoExternalAttributes(video, videoObject, options.syncParam) + + return video } catch (err) { logger.warn('Cannot refresh video %s.', options.video.url, { err }) return video -- cgit v1.2.3