aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/activitypub
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-03-03 11:03:30 +0100
committerChocobozzz <me@florianbigard.com>2021-03-03 11:03:30 +0100
commit6c9c3b7b14411a854c8dcf8583d56b314e45a4ce (patch)
treeafc86f88b33a4ad79a0d6e61a049e3693a44df23 /server/lib/activitypub
parent1ef447bd8397792dc7d1db93dfe87749f0532c72 (diff)
downloadPeerTube-6c9c3b7b14411a854c8dcf8583d56b314e45a4ce.tar.gz
PeerTube-6c9c3b7b14411a854c8dcf8583d56b314e45a4ce.tar.zst
PeerTube-6c9c3b7b14411a854c8dcf8583d56b314e45a4ce.zip
Fix emptying video tags
Diffstat (limited to 'server/lib/activitypub')
-rw-r--r--server/lib/activitypub/videos.ts2
1 files changed, 1 insertions, 1 deletions
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: {
440 const tags = videoObject.tag 440 const tags = videoObject.tag
441 .filter(isAPHashTagObject) 441 .filter(isAPHashTagObject)
442 .map(tag => tag.name) 442 .map(tag => tag.name)
443 await setVideoTags({ video: videoUpdated, tags, transaction: t, defaultValue: videoUpdated.Tags }) 443 await setVideoTags({ video: videoUpdated, tags, transaction: t })
444 } 444 }
445 445
446 // Update trackers 446 // Update trackers