Add limit to search results
This commit is contained in:
parent
09218d4c01
commit
afded319d2
3 changed files with 12 additions and 14 deletions
|
@ -148,7 +148,8 @@ export function fetchComposeSuggestions(token) {
|
|||
api(getState).get('/api/v1/accounts/search', {
|
||||
params: {
|
||||
q: token,
|
||||
resolve: false
|
||||
resolve: false,
|
||||
limit: 4
|
||||
}
|
||||
}).then(response => {
|
||||
dispatch(readyComposeSuggestions(token, response.data));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue