diff options
Diffstat (limited to 'server/models')
-rw-r--r-- | server/models/video/video-comment.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/video/video-comment.ts b/server/models/video/video-comment.ts index a3e8c48d4..8ceeb563a 100644 --- a/server/models/video/video-comment.ts +++ b/server/models/video/video-comment.ts | |||
@@ -212,7 +212,7 @@ export class VideoCommentModel extends Model<VideoCommentModel> { | |||
212 | url: this.url, | 212 | url: this.url, |
213 | text: this.text, | 213 | text: this.text, |
214 | threadId: this.originCommentId || this.id, | 214 | threadId: this.originCommentId || this.id, |
215 | inReplyToCommentId: this.inReplyToCommentId, | 215 | inReplyToCommentId: this.inReplyToCommentId || null, |
216 | videoId: this.videoId, | 216 | videoId: this.videoId, |
217 | createdAt: this.createdAt, | 217 | createdAt: this.createdAt, |
218 | updatedAt: this.updatedAt, | 218 | updatedAt: this.updatedAt, |