Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assign default value to twilioHeader during validation #446

Merged
merged 5 commits into from May 16, 2019
Merged

Assign default value to twilioHeader during validation #446

merged 5 commits into from May 16, 2019

Conversation

mniehe
Copy link
Contributor

@mniehe mniehe commented May 7, 2019

Adds a sensible default to twilioHeader if it's undefined during validation.

Closes #445

Contributing to Twilio

All third party contributors acknowledge that any contributions they provide will be made under the same open source license that the open source project is provided under.

  • I acknowledge that all my contributions will be made under the project's license.

spec/validation.spec.js Outdated Show resolved Hide resolved
@childish-sambino childish-sambino merged commit 5dbef34 into twilio:master May 16, 2019
@childish-sambino childish-sambino added the type: bug bug in the library label Feb 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug bug in the library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Undefined twilio header causing exception during validation
2 participants