aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video/video.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/video/video.ts')
-rw-r--r--server/models/video/video.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts
index 5fb254b2d..dc10aca1a 100644
--- a/server/models/video/video.ts
+++ b/server/models/video/video.ts
@@ -550,6 +550,7 @@ toFormattedDetailsJSON = function (this: VideoInstance) {
550 550
551toActivityPubObject = function (this: VideoInstance) { 551toActivityPubObject = function (this: VideoInstance) {
552 const { baseUrlHttp, baseUrlWs } = getBaseUrls(this) 552 const { baseUrlHttp, baseUrlWs } = getBaseUrls(this)
553 if (!this.Tags) this.Tags = []
553 554
554 const tag = this.Tags.map(t => ({ 555 const tag = this.Tags.map(t => ({
555 type: 'Hashtag' as 'Hashtag', 556 type: 'Hashtag' as 'Hashtag',