inReplyToCommentId,
videoId: obj.video.id,
accountId: obj.account.id,
- url: 'fake url'
+ url: new Date().toISOString()
}, { transaction: t, validate: false })
- comment.set('url', getVideoCommentActivityPubUrl(obj.video, comment))
+ comment.url = getVideoCommentActivityPubUrl(obj.video, comment)
const savedComment = await comment.save({ transaction: t })
savedComment.InReplyToVideoComment = obj.inReplyToComment