Vonage / vonage-node-sdk

Vonage API client for Node.js. API support for SMS, Voice, Text-to-Speech, Numbers, Verify (2FA) and more.
Apache License 2.0
375 stars 178 forks source link

fix(verify): Added missing remapping for params #782

Closed dragonmantank closed 1 year ago

dragonmantank commented 1 year ago

Description

This properly remaps the parameters from the expected value object to the API expectations

Motivation and Context

Corrects the issue where we send the incorrect names for some options

Testing Details

Additional unit tests

Example Output or Screenshots (if appropriate)

Types of changes

Checklist