[Glitch] Change follow recommendations to be limited to 20 instead of 40 in web UI
Port 0fb004cf1f
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
lolsob-rspec
parent
8df28df755
commit
4740a69cc5
|
@ -12,7 +12,7 @@ export function fetchSuggestions(withRelationships = false) {
|
|||
return (dispatch, getState) => {
|
||||
dispatch(fetchSuggestionsRequest());
|
||||
|
||||
api(getState).get('/api/v2/suggestions').then(response => {
|
||||
api(getState).get('/api/v2/suggestions', { params: { limit: 20 } }).then(response => {
|
||||
dispatch(importFetchedAccounts(response.data.map(x => x.account)));
|
||||
dispatch(fetchSuggestionsSuccess(response.data));
|
||||
|
||||
|
|
Loading…
Reference in New Issue