Cannot pass a custom fetch method in apiOptions #961
Labels
pending-author
[Issue] Awaiting further information or action from the issue author
pending-triage
[Issue] Ticket is pending to be prioritised
Describe the issue you're facing
Hello,
I want to pass a custom fetch to the storyblok-js-client when initializing the storyblok api using
storyblokInit
from@storyblok/react/rsc
. However, it seems that the custom fetch is not being passed to the client correctly.If a for example add
console.log()
to the fetch-method, the text is never printed. If I debug and attach, the breakpoint is never hit.Reproduction
https://stackblitz.com/edit/stackblitz-starters-kzvhqv?file=app%2Flayout.tsx
Steps to reproduce
System Info
Used Package Manager
pnpm
Error logs (Optional)
No response
Validations
The text was updated successfully, but these errors were encountered: