Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update account-followers.feed.ts #1482

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

ghyath5
Copy link

@ghyath5 ghyath5 commented Jul 26, 2021

add count query to limit the results as needed

add `count` query to limit the results as needed
set state(body: AccountFollowersFeedResponse) {
this.moreAvailable = !!body.next_max_id;
this.nextMaxId = body.next_max_id;
this.count = body.count;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's no count in the response definition.

@@ -29,6 +30,7 @@ export class AccountFollowersFeed extends Feed<AccountFollowersFeedResponse, Acc
order: this.order,
query: this.query,
enable_groups: this.enableGroups,
count:this.count
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you run prettier over the code?

src/feeds/account-followers.feed.ts Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants