I am trying to get a basic async/await working with Axios, any pointers would be helpful.
isUserInDatabase() {
axios.get(url)
.then( (response) => {
return response.data.data;
})
},
async isUnique() {
await this.isUserInDatabase()
}