This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Fix limit_param in favourites_controller.rb (
#3553
)
closed-social-glitch-2
Naoki Kosaka
6 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