Skip to content

Commit

Permalink
fix: correctly set return value for bun webhook adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
BilagoNet authored Nov 12, 2024
1 parent 1f5a202 commit a4b078e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/convenience/frameworks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,9 @@ const bun: BunAdapter = (request) => {
unauthorized: () => {
resolveResponse(unauthorized());
},
handlerReturn: new Promise<Response>((resolve) => {
resolveResponse = resolve;
}),
};
};

Expand Down

0 comments on commit a4b078e

Please sign in to comment.