This website works better with JavaScript.
Home
Explore
Help
Sign In
jyt94
/
closedSocialMastodon
forked from
closed-social/mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Fix limit_param in favourites_controller.rb (
#3553
)
closed-social-v3
Naoki Kosaka
7 years ago
committed by
Eugen Rochko
parent
f6e2309e70
commit
e014bf8ed0
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/controllers/api/v1/favourites_controller.rb
+ 1
- 1
app/controllers/api/v1/favourites_controller.rb
View File
@ -65,7 +65,7 @@ class Api::V1::FavouritesController < ApiController
end
def
records_continue?
results
.
size
==
limit_param
(
DEFAULT_
ACCOUNT
S_LIMIT
)
results
.
size
==
limit_param
(
DEFAULT_
STATUSE
S_LIMIT
)
end
def
pagination_params
(
core_params
)
Write
Preview
Loading…
Cancel
Save