We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
H3: 1.13.1-20241208-012300-10e98be
From unjs/unstorage#519
Returning an ArrayBuffer in an event handler seems to set response body to an empty JSON object. At least it does with unstorage and Cloudflare D2:
import { defineEventHandler } from 'h3'; import { useStorage } from 'nitro/runtime'; export default defineEventHandler(async (event) => { return useStorage('files').getItemRaw('some-key'); });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Environment
H3: 1.13.1-20241208-012300-10e98be
Describe the bug
From unjs/unstorage#519
Returning an ArrayBuffer in an event handler seems to set response body to an empty JSON object. At least it does with unstorage and Cloudflare D2:
The text was updated successfully, but these errors were encountered: