pleroma-fe/src/services/new_api/user_search.js

17 lines
268 B
JavaScript
Raw Normal View History

2018-11-14 19:29:45 +00:00
import utils from './utils.js'
const search = ({query, store}) => {
return utils.request({
store,
url: '/api/pleroma/search_user',
params: {
query
}
}).then((data) => data.json())
}
const UserSearch = {
search
}
export default UserSearch