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