You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NOTE: The function readAssetArrayBuffer (directy below) which does the same for arrayBuffers works as expected. Therewith I assume it's something about blobs.
Logs
No response
The text was updated successfully, but these errors were encountered:
Environment
Reproduction
https://stackblitz.com/edit/github-xzcnqt?file=app.vue,nuxt.config.ts
Describe the bug
When using Nuxts $fetch (-->ofetch) instead of the native fetch Response.blob() creates an error:
TypeError: r2.blob is not a function
Additional context
Originally opened Nuxt Issue: nuxt/nuxt#26843
For reference the function of the directus sdk which is used in the demo:
https://github.com/directus/directus/blob/d37a16a31ebd201ef884bf30994366b95b156458/sdk/src/rest/commands/read/assets.ts#L33-L44
NOTE: The function readAssetArrayBuffer (directy below) which does the same for arrayBuffers works as expected. Therewith I assume it's something about blobs.
Logs
No response
The text was updated successfully, but these errors were encountered: