mirror of
https://github.com/donl/plivo-node.git
synced 2026-06-30 06:12:08 -06:00
Added validation for status param in start MPC API
This commit is contained in:
parent
a19138db0f
commit
324b283c5f
1 changed files with 1 additions and 0 deletions
|
|
@ -312,6 +312,7 @@ export class MultiPartyCall extends PlivoResource{
|
|||
}
|
||||
|
||||
start(params){
|
||||
validParam('status', params.status, [String], true, 'active')
|
||||
return super.executeAction(this.id + '/', 'POST', {'status' : params.status, 'isVoiceRequest' : 'true'})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue