diff options
author | Chocobozzz <me@florianbigard.com> | 2017-12-27 20:03:37 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2017-12-27 20:03:37 +0100 |
commit | d50acfab69ce9e05b272dea6c4d34d52960ba14c (patch) | |
tree | 55ce8b70777603b772d2cecb96cd71aac9ccfb9c /server/models/video/video-comment.ts | |
parent | ae45f988bb5ea32152cca02a282d02599dbb633b (diff) | |
download | PeerTube-d50acfab69ce9e05b272dea6c4d34d52960ba14c.tar.gz PeerTube-d50acfab69ce9e05b272dea6c4d34d52960ba14c.tar.zst PeerTube-d50acfab69ce9e05b272dea6c4d34d52960ba14c.zip |
Add comments federation tests
Diffstat (limited to 'server/models/video/video-comment.ts')
-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, |