We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5748a93 commit 942a862Copy full SHA for 942a862
src/buildRouter.ts
@@ -62,7 +62,7 @@ export const buildRouter = async (
62
const fields = fromPairs(
63
Object.keys((body ?? {}) as Record<string, unknown>).map(key => [
64
key,
65
- getFile(body[key] as any) ?? body[key].value,
+ getFile(body[key] as any) ?? body[key].value ?? body[key],
66
])
67
);
68
const html = await controller[route.action](
0 commit comments