ユーザー検索APIを統合

This commit is contained in:
syuilo
2018-08-06 18:28:27 +09:00
parent 10f9549a04
commit 5f208a7d99
3 changed files with 143 additions and 90 deletions

View File

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