Add limit to search results
This commit is contained in:
1 parent
09218d4c01
commit
afded319d2
3 files changed
+12
-14
No files matched your search
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user