You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
340 B
13 lines
340 B
import { AUTH_SERVICE } from '../config/routes'
|
|
import { client } from '../config/clients'
|
|
import { callApi } from '../helpers'
|
|
|
|
export const getTokenVirtualUser = async () => {
|
|
const url = `${AUTH_SERVICE}/v1/user/create?client_id=${client.auth.clientId}`
|
|
|
|
const config = {
|
|
method: 'POST',
|
|
}
|
|
|
|
return callApi({ config, url })
|
|
}
|
|
|