remove verification checks, API behaviour too unstable currently #449
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR removes the server-side SDK check for supported locales on the basis that the Verify V2 API currently has some unexpected behaviour.
Description
You now supply a locale - if you don't,
en-us
is chosen. At the time of writing, the Vonage API will scan theto
field in a workflow and choose your locale for you.Motivation and Context
Attempt to get some consistency - right now, the emphasis here is for the API to handle error handling rather than the SDK to do it at the time of execution (before a call is made)
How Has This Been Tested?
Test to make sure you can give a valid locale has been removed.
Example Output or Screenshots (if appropriate):
Types of changes
Checklist: