I have a setup like this
the api service get looks like this:
The solution is to use the new way of getting the json data....
const customer = res['data'];