T
TanStack2y ago
mute-gold

Network response not matching react query data

Hello! I am making an api call and the network response I get from the api does not match the data that request query returns. For example, I make an api call to get a list of users for a vendor here is the response in post man: Here is the that same response logged to the console from the react query data: They do not match and I can not figure out why, the users array becomes undefined and incorrect
1 Reply
mute-gold
mute-goldOP2y ago
actally you can ignore this I am a dumbass lol

Did you find this page helpful?