diff options
author | Chocobozzz <me@florianbigard.com> | 2022-11-15 15:00:19 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-11-15 15:00:23 +0100 |
commit | 99b757488c077cee7d0ab89eeec181a7ee6290eb (patch) | |
tree | 307a3f39285f899e3ed616d92aae1bdd181178e0 /server/models/abuse | |
parent | 4638cd713dcdd007cd7f49b9a95fa62ac7823e7c (diff) | |
download | PeerTube-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.ts | 2 |
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 | ||