Better limit

This commit is contained in:
syuilo 2018-11-30 00:45:02 +09:00
parent 72d9a46156
commit ee82f99f5a
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
2 changed files with 2 additions and 2 deletions

View file

@ -187,7 +187,7 @@ export default Vue.extend({
} else {
this.$root.api('users/search', {
query: this.q,
limit: 30
limit: 10
}).then(users => {
this.users = users;
this.fetching = false;

View file

@ -115,7 +115,7 @@ export default Vue.extend({
}
this.$root.api('users/search', {
query: this.q,
max: 5
limit: 10
}).then(users => {
this.result = users;
});