Accepted answer

You're using await with then(). You should switch to one. If you use await, assign the result to a variable. You should also be passing back the data of the response and not the response itself.

const response = await

If you want to use then, then it's:
.then(respone => callback(

Related Query

More Query from same tag