Skip to content

Commit 7b1b684

Browse files
revert unrelated change
1 parent 3e22519 commit 7b1b684

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/start-server-core/src/request-response.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import {
1515
sanitizeStatusMessage as h3_sanitizeStatusMessage,
1616
sealSession as h3_sealSession,
1717
setCookie as h3_setCookie,
18+
toResponse as h3_toResponse,
1819
unsealSession as h3_unsealSession,
1920
updateSession as h3_updateSession,
2021
useSession as h3_useSession,
@@ -54,7 +55,7 @@ export function requestHandler<TRegister = unknown>(
5455
const response = eventStorage.run({ h3Event }, () =>
5556
handler(request, requestOpts),
5657
)
57-
return response // h3_toResponse(response, h3Event)
58+
return h3_toResponse(response, h3Event)
5859
}
5960
}
6061

0 commit comments

Comments
 (0)