aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/abuse
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-11-15 15:00:19 +0100
committerChocobozzz <me@florianbigard.com>2022-11-15 15:00:23 +0100
commit99b757488c077cee7d0ab89eeec181a7ee6290eb (patch)
tree307a3f39285f899e3ed616d92aae1bdd181178e0 /server/models/abuse
parent4638cd713dcdd007cd7f49b9a95fa62ac7823e7c (diff)
downloadPeerTube-99b757488c077cee7d0ab89eeec181a7ee6290eb.tar.gz
PeerTube-99b757488c077cee7d0ab89eeec181a7ee6290eb.tar.zst
PeerTube-99b757488c077cee7d0ab89eeec181a7ee6290eb.zip
Fix server lint
Diffstat (limited to 'server/models/abuse')
-rw-r--r--server/models/abuse/abuse.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/abuse/abuse.ts b/server/models/abuse/abuse.ts
index f85f48e86..4c6a96a86 100644
--- a/server/models/abuse/abuse.ts
+++ b/server/models/abuse/abuse.ts
@@ -436,7 +436,7 @@ export class AbuseModel extends Model<Partial<AttributesOnly<AbuseModel>>> {
436 436
437 buildBaseVideoCommentAbuse (this: MAbuseUserFormattable) { 437 buildBaseVideoCommentAbuse (this: MAbuseUserFormattable) {
438 // Associated video comment could have been destroyed if the video has been deleted 438 // Associated video comment could have been destroyed if the video has been deleted
439 if (!this.VideoCommentAbuse || !this.VideoCommentAbuse.VideoComment) return null 439 if (!this.VideoCommentAbuse?.VideoComment) return null
440 440
441 const entity = this.VideoCommentAbuse.VideoComment 441 const entity = this.VideoCommentAbuse.VideoComment
442 442