]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/models/video/video-comment.ts
Add reason when banning a user
[github/Chocobozzz/PeerTube.git] / server / models / video / video-comment.ts
index e79aff20939467746736f4dcbb8556a6958ab13b..f84c1880c6a564fc11c61959514450e25e121e3c 100644 (file)
@@ -156,7 +156,7 @@ export class VideoCommentModel extends Model<VideoCommentModel> {
     as: 'InReplyToVideoComment',
     onDelete: 'CASCADE'
   })
-  InReplyToVideoComment: VideoCommentModel
+  InReplyToVideoComment: VideoCommentModel | null
 
   @ForeignKey(() => VideoModel)
   @Column