import { ResultList } from '../../shared/models'
import { VideoCommentThreadTree } from '../../shared/models/videos/video-comment.model'
import { VideoCommentModel } from '../models/video/video-comment'
-import { getVideoCommentActivityPubUrl } from './activitypub'
+import { getVideoCommentActivityPubUrl } from './activitypub/url'
import { sendCreateVideoComment } from './activitypub/send'
import { MAccountDefault, MComment, MCommentOwnerVideoReply, MVideoFullLight } from '../typings/models'
async function createVideoComment (obj: {
- text: string,
- inReplyToComment: MComment | null,
- video: MVideoFullLight,
+ text: string
+ inReplyToComment: MComment | null
+ video: MVideoFullLight
account: MAccountDefault
}, t: Sequelize.Transaction) {
let originCommentId: number | null = null