Not a problem, just though maybe you could guide me to the best way to do what I'm trying to do.
All of my responses are wrapped in data , e.g a response could look like this:
It would be nice if I could do this somehow, or make a custom fetch composable or something that would do something like this, but I'm not sure exactly how at the moment:
Not a problem, just though maybe you could guide me to the best way to do what I'm trying to do. All of my responses are wrapped in
data
, e.g a response could look like this:So when I do a request using
useLarafetch
, to get the actualdata
attribute, I'm adding a computed property like this:It would be nice if I could do this somehow, or make a custom fetch composable or something that would do something like this, but I'm not sure exactly how at the moment:
If you're able to point me in the right direction to do this, that would be great, thanks!