You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Argument of type '{ url: string; }' is not assignable to parameter of type 'RequestValidatorOptions'.
Property 'host' is missing in type '{ url: string; }'.
Expected Results
The documentation for url in RequestValidatorOptions has:
The full URL (with query string) you used to configure the webhook with Twilio - overrides host/protocol options
Because it says it overrides host and protocol options, I would expect all of the RequestValidatorOptions interface members to be optional:
exportinterfaceRequestValidatorOptions{/** * The full URL (with query string) you used to configure the webhook with Twilio - overrides host/protocol options */url?: string;/** * Manually specify the host name used by Twilio in a number's webhook config */host?: string;/** * Manually specify the protocol used by Twilio in a number's webhook config */protocol?: string;}
The text was updated successfully, but these errors were encountered:
Version: 3.19.2
Code Snippet
Exception/Log
Expected Results
The documentation for
url
inRequestValidatorOptions
has:Because it says it overrides
host
andprotocol
options, I would expect all of theRequestValidatorOptions
interface members to be optional:The text was updated successfully, but these errors were encountered: