useFetch informs the the method is not available for the route
Following this thread https://discord.com/channels/473401852243869706/473406506579263488/1222265282048032872 I managed to narrow down the reproduction of the issue.
Given the following tree
and
nitro-routes.d.ts
And this code:
We receive the following error:
The reason is that /api/audits/${id}
is assignable to /api/audits/progression
and that's why only the get method is allowed.0 Replies