Add emoji reaction api pagination support
This commit is contained in:
parent
5fd2a57502
commit
2667e478d3
4 changed files with 104 additions and 15 deletions
|
@ -33,7 +33,7 @@ class Api::V1::Statuses::EmojiReactionedByAccountsController < Api::BaseControll
|
|||
|
||||
def paginated_emoji_reactions
|
||||
EmojiReaction.paginate_by_max_id(
|
||||
limit_param(1000), # limit_param(DEFAULT_ACCOUNTS_LIMIT),
|
||||
limit_param(DEFAULT_ACCOUNTS_LIMIT),
|
||||
params[:max_id],
|
||||
params[:since_id]
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue