-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Labels
priority: lowNice-to-have; can waitNice-to-have; can waitstatus: help wantedrequesting help from the communityrequesting help from the communitytriage queueIssue is in our internal backlog. It's either a bug or a feature enhancement.Issue is in our internal backlog. It's either a bug or a feature enhancement.type: community enhancementfeature request not on Twilio's roadmapfeature request not on Twilio's roadmap
Description
Issue Summary
Incorrect handling of PREFIXED_COLLAPSIBLE_MAP. The CLI is not decomposing the parameter value in the expected parameters to send in the request.
Steps to Reproduce
Running:
twilio api:lookups:v1:phone-numbers:fetch \
--phone-number +16502530000 \
--add-ons payfone_tcpa_compliance \
--add-ons-data "{\"payfone_tcpa_compliance.RightPartyContactedDate\": \"20160101\"}"
Should make a GET request to:
https://lookups.twilio.com/v1/PhoneNumbers/+16502530000?AddOns=payfone_tcpa_compliance&AddOns.payfone_tcpa_compliance.RightPartyContactedDate=20160101
but is doing:
https://lookups.twilio.com/v1/PhoneNumbers/+16502530000?AddOns=payfone_tcpa_compliance&AddOnsData={%22payfone_tcpa_compliance.RightPartyContactedDate%22:%2220160101%22}
Technical details:
- twilio-cli Version: 1.4.1 linux-x64
- Node.js Version: v8.13.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
priority: lowNice-to-have; can waitNice-to-have; can waitstatus: help wantedrequesting help from the communityrequesting help from the communitytriage queueIssue is in our internal backlog. It's either a bug or a feature enhancement.Issue is in our internal backlog. It's either a bug or a feature enhancement.type: community enhancementfeature request not on Twilio's roadmapfeature request not on Twilio's roadmap