Earlier if options is not passed in webhooks, it used to create options = {validate: true} but if options is passed and validate flag is missing (which expects that it will be taken true as it is the default value mentioned in the comments above), then it did not validate. Made a fix for the same.
Checklist
[x] I acknowledge that all my contributions will be made under the project's license
[x] I have made a material change to the repo (functionality, testing, spelling, grammar)
Fixes #1021
Earlier if options is not passed in webhooks, it used to create options = {validate: true} but if options is passed and validate flag is missing (which expects that it will be taken true as it is the default value mentioned in the comments above), then it did not validate. Made a fix for the same.
Checklist
If you have questions, please file a support ticket, or create a GitHub Issue in this repository.