export async function SwaggerClient() {
return Swagger({ url: window.App.apiUrl })
}
SwaggerClient({
url: '/api/profiles',
method: 'GET',
})
.then(response => {
console.log('getProfile', response)
})
.catch(error => {
console.log('getProfileError', error)
})