Fixed error message bug

This commit is contained in:
Koushik-Ayila 2020-11-17 10:59:50 +05:30
parent b6002f4538
commit 454789324c

View file

@ -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)
}