Skip to content

Commit

Permalink
chore: corrected options.validate check
Browse files Browse the repository at this point in the history
  • Loading branch information
tiwarishubham635 committed May 20, 2024
1 parent 595f50e commit 13a70d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webhooks/webhooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ export function webhook(
}

if (!options) options = {};
if (!options.validate) options.validate = true;
if (options.validate == undefined) options.validate = true;

// Process arguments
var tokenString;
Expand Down

0 comments on commit 13a70d3

Please sign in to comment.