We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd6d6cf commit cd1523fCopy full SHA for cd1523f
src/use/@netlify/functions.ts
@@ -41,6 +41,7 @@ export function createHandler<Context extends OperationContext = undefined>(
41
// if body is null, return undefined
42
body: body ?? undefined,
43
statusCode: init.status,
44
+ headers: init.headers,
45
};
46
} catch (err) {
47
// The handler shouldnt throw errors.
0 commit comments