Skip to content

Commit

Permalink
🐛 return ctx.response now
Browse files Browse the repository at this point in the history
  • Loading branch information
neurosnap committed Jan 20, 2022
1 parent f0fab8b commit 52bf7ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export function createMiddleware() {
const ctx: Ctx = { ...props, response: {} };
const fn = compose(middleware);
await fn(ctx);
return props.context.response;
return ctx.response;
};
}

Expand Down

0 comments on commit 52bf7ab

Please sign in to comment.