Skip to content

Commit 0434358

Browse files
committed
fix(app): use response.body instead of initial returned val
1 parent ba42c82 commit 0434358

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ export function createAppEventHandler(stack: Stack, options: AppOptions) {
157157
if (options.onBeforeResponse) {
158158
await options.onBeforeResponse(event, _response);
159159
}
160-
await handleHandlerResponse(event, val, spacing);
160+
await handleHandlerResponse(event, _response.body, spacing);
161161
if (options.onAfterResponse) {
162162
await options.onAfterResponse(event, _response);
163163
}

0 commit comments

Comments
 (0)