Fix invalid error when summary is undefined
This commit is contained in:
parent
03e46572a3
commit
f19d34aa63
@ -277,7 +277,7 @@ export function getVideoAttributesFromObject (videoChannel: MChannelId, videoObj
|
||||
|
||||
nsfw: videoObject.sensitive,
|
||||
nsfwSummary: videoObject.sensitive
|
||||
? videoObject.summary
|
||||
? (videoObject.summary ?? null)
|
||||
: null,
|
||||
nsfwFlags: videoObject.sensitive
|
||||
? getNSFWFlags(videoObject.tag)
|
||||
|
Loading…
x
Reference in New Issue
Block a user