Skip to content

Commit

Permalink
Merge pull request #558 from Rishikant181/exclude-replies
Browse files Browse the repository at this point in the history
Fixed an issue where value of 'links' and 'replies' of TweetFilter were being overriden
  • Loading branch information
Rishikant181 authored Jun 21, 2024
2 parents 58c7081 + df498a4 commit 06018a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/models/args/FetchArgs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export class TweetFilter extends TweetFilterCore {
*/
@IsOptional()
@IsBoolean()
public links?: boolean = true;
public links?: boolean;

/** The id of the tweet, before which the tweets are to be searched. */
@IsOptional()
Expand Down Expand Up @@ -256,7 +256,7 @@ export class TweetFilter extends TweetFilterCore {
*/
@IsOptional()
@IsBoolean()
public replies?: boolean = true;
public replies?: boolean;

/** The id of the tweet, after which the tweets are to be searched. */
@IsOptional()
Expand Down

0 comments on commit 06018a6

Please sign in to comment.