Skip to content

Update account-followers.feed.ts#1482

Open
ghyath5 wants to merge 3 commits into
dilame:masterfrom
ghyath5:patch-1
Open

Update account-followers.feed.ts#1482
ghyath5 wants to merge 3 commits into
dilame:masterfrom
ghyath5:patch-1

Conversation

@ghyath5

@ghyath5 ghyath5 commented Jul 26, 2021

Copy link
Copy Markdown

add count query to limit the results as needed

ghyath5 added 2 commits July 26, 2021 18:09
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
Copy Markdown
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.

order: this.order,
query: this.query,
enable_groups: this.enableGroups,
count:this.count

Copy link
Copy Markdown
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?

Comment thread src/feeds/account-followers.feed.ts
Co-authored-by: nerix <nero.9@hotmail.de>
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