From 6c9c3b7b14411a854c8dcf8583d56b314e45a4ce Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 3 Mar 2021 11:03:30 +0100 Subject: Fix emptying video tags --- server/lib/activitypub/videos.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/lib/activitypub') diff --git a/server/lib/activitypub/videos.ts b/server/lib/activitypub/videos.ts index c29bcc528..c02578aad 100644 --- a/server/lib/activitypub/videos.ts +++ b/server/lib/activitypub/videos.ts @@ -440,7 +440,7 @@ async function updateVideoFromAP (options: { const tags = videoObject.tag .filter(isAPHashTagObject) .map(tag => tag.name) - await setVideoTags({ video: videoUpdated, tags, transaction: t, defaultValue: videoUpdated.Tags }) + await setVideoTags({ video: videoUpdated, tags, transaction: t }) } // Update trackers -- cgit v1.2.3