npm eslint --fix .

This commit is contained in:
Henry Jameson 2019-07-05 10:02:14 +03:00
parent 6bea363b9d
commit 2c2b84d31d
56 changed files with 294 additions and 295 deletions

View file

@ -1,7 +1,7 @@
import utils from './utils.js'
import { parseUser } from '../entity_normalizer/entity_normalizer.service.js'
const search = ({query, store}) => {
const search = ({ query, store }) => {
return utils.request({
store,
url: '/api/v1/accounts/search',
@ -10,8 +10,8 @@ const search = ({query, store}) => {
resolve: true
}
})
.then((data) => data.json())
.then((data) => data.map(parseUser))
.then((data) => data.json())
.then((data) => data.map(parseUser))
}
const UserSearch = {
search