Change follow recommendations to be limited to 20 instead of 40 in web UI (#16077)

lolsob-rspec
Eugen Rochko 2021-04-20 15:07:51 +02:00 committed by GitHub
parent 92cf2a4187
commit 0fb004cf1f
1 changed files with 1 additions and 1 deletions

View File

@ -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));