return sequelizeTypescript.transaction(async t => {
return createVideoComment({
text: videoCommentInfo.text,
- inReplyToCommentId: null,
+ inReplyToComment: null,
video: res.locals.video,
accountId: res.locals.oauth.token.User.Account.id
}, t)
return sequelizeTypescript.transaction(async t => {
return createVideoComment({
text: videoCommentInfo.text,
- inReplyToCommentId: res.locals.videoComment.id,
+ inReplyToComment: res.locals.videoComment,
video: res.locals.video,
accountId: res.locals.oauth.token.User.Account.id
}, t)