Property 'body' does not exist on type '{}'
For some reason, when trying to destructure a fetch call that I am making to a specific API call, I can't seem to destructure it without erroring. However, it does log the data properly after I receive it, even with an error.
1 Reply
I might be missing some basic stuff here, as I'm trying to refresh my Nuxt skills, so do let me know if I missed something!
Fixed it, the file itself had to be account.post.ts