Skip to content

Commit

Permalink
chore: add v22 support
Browse files Browse the repository at this point in the history
  • Loading branch information
manisha1997 committed Jan 14, 2025
1 parent 419b33c commit 044e3f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/webhooks/webhooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ export function getExpectedTwilioSignature(
url: string,
params: Record<string, any>
): string {
url = new URL(url).toString();
if (url.indexOf("bodySHA256") !== -1 && params === null) {
params = {};
}
Expand Down

0 comments on commit 044e3f8

Please sign in to comment.