mirror of
https://github.com/donl/plivo-node.git
synced 2026-06-30 06:12:08 -06:00
convert status variable value to lowercase
This commit is contained in:
parent
9233c200d4
commit
56c7e528f2
1 changed files with 1 additions and 1 deletions
|
|
@ -312,7 +312,7 @@ export class MultiPartyCall extends PlivoResource{
|
|||
}
|
||||
|
||||
start(params){
|
||||
validParam('status', params.statustoLowerCase(), [String], true, 'active')
|
||||
validParam('status', params.status.toLowerCase(), [String], true, 'active')
|
||||
return super.executeAction(this.id + '/', 'POST', {'status' : params.status.toLowerCase(), 'isVoiceRequest' : 'true'})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue