Skip to content

Commit

Permalink
fix: remove reportReasons
Browse files Browse the repository at this point in the history
This attribute was split into modReports and userReports, and is
thus deprecated.
  • Loading branch information
thislooksfun committed Mar 13, 2021
1 parent 431efe2 commit 0fbcc02
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/objects/voteable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ export interface VoteableData extends ContentData {
numReports: number;
permalink: string;
removalReason: any;
reportReasons: string[];
saved: boolean;
score: number;
sendReplies: boolean;
Expand Down Expand Up @@ -124,7 +123,6 @@ export default abstract class Voteable extends Content implements VoteableData {
numReports: number;
permalink: string;
removalReason: any;
reportReasons: string[];
saved: boolean;
score: number;
sendReplies: boolean;
Expand Down Expand Up @@ -172,7 +170,6 @@ export default abstract class Voteable extends Content implements VoteableData {
this.numReports = data.numReports;
this.permalink = data.permalink;
this.removalReason = data.removalReason;
this.reportReasons = data.reportReasons;
this.saved = data.saved;
this.score = data.score;
this.sendReplies = data.sendReplies;
Expand Down

0 comments on commit 0fbcc02

Please sign in to comment.