diff options
Diffstat (limited to 'server/models/video/video.ts')
-rw-r--r-- | server/models/video/video.ts | 1 |
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 | ||
551 | toActivityPubObject = function (this: VideoInstance) { | 551 | toActivityPubObject = 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', |