Users now fetch and can create works for UK/DE

This commit is contained in:
Mike 2019-09-04 12:42:13 +01:00
parent 68ffe55abb
commit 01a37eec58
1 changed files with 2 additions and 1 deletions
src/api

View File

@ -1,5 +1,6 @@
import axios from 'axios'
import request from '@/utils/request'
import store from '../store/modules/settings.js'
const apiUrl = 'https://users.service.development.therig.onlinefuelslabs.io'
@ -42,7 +43,7 @@ export function logout() {
}
export function fetchList(query) {
query.platform = 'OLFDE'
query.platform = store.state.platform
return axios.get(`${apiUrl}/user/search`, { params: query })
}