Skip to content

Commit

Permalink
feat: remove CommentData.depth
Browse files Browse the repository at this point in the history
This is not returned by the api, so we have no use for it currently.
  • Loading branch information
thislooksfun committed Mar 13, 2021
1 parent 93c0f32 commit b5d6bf4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/objects/comment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export interface CommentData extends VoteableData {
collapsedReason: any;
collapsed: boolean;
controversiality: number;
depth: number;
ignoreReports: boolean;
isSubmitter: boolean;
linkId: string;
Expand All @@ -27,7 +26,6 @@ export default class Comment extends Voteable implements CommentData {
collapsedReason: any;
collapsed: boolean;
controversiality: number;
depth: number;
ignoreReports: boolean;
isSubmitter: boolean;
linkId: string;
Expand All @@ -48,7 +46,6 @@ export default class Comment extends Voteable implements CommentData {
this.collapsedReason = data.collapsedReason;
this.collapsed = data.collapsed;
this.controversiality = data.controversiality;
this.depth = data.depth;
this.ignoreReports = data.ignoreReports;
this.isSubmitter = data.isSubmitter;
this.linkId = data.linkId;
Expand Down

0 comments on commit b5d6bf4

Please sign in to comment.