Ok I wanted to factorize all my API calls into a custom plugin to add them some options.
But I assume that I just have to make a .get() function using useFetch, and post, put etc using $fetch ?
It's not working.
I just tried to put await navigateTo(...); outside any function, just bellow my useFetch, and it's still the same issue, my data is null and so all the code bellow using this is in error