When I make a request like this (screenshot1)
I always get a nested data object along side config, header, request, status, statustext (screenshot2)
That has been fine so far, but now that I have a paginated response that I'm getting via React Query useInfiniteQuery(), I get multiple data objects nested within each other on subsequent pages (screenshot3)
Perhaps Axios is related to the issue here?
On postman I only get the data itself (screenshot4)
I would be greateful, if you could point me in a direction.