mirror of
https://github.com/donl/plivo-node.git
synced 2026-06-30 06:12:08 -06:00
Fixed error message bug
This commit is contained in:
parent
b6002f4538
commit
454789324c
1 changed files with 0 additions and 6 deletions
|
|
@ -463,12 +463,6 @@ export class MultiPartyCallInterface extends PlivoResourceInterface{
|
|||
}
|
||||
|
||||
addParticipant(role, params = {}){
|
||||
let errors = validate([
|
||||
{field: 'friendly_name', value: params.friendlyName, validators: ['isString']}
|
||||
]);
|
||||
if (errors) {
|
||||
return errors;
|
||||
}
|
||||
if(params.uuid){
|
||||
validParam('uuid', params.uuid, [String], false)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue