Users now fetch and can create works for UK/DE
This commit is contained in:
parent
68ffe55abb
commit
01a37eec58
src/api
|
@ -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 })
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue