diff --git a/src/app/pd/services/twilio/twilio.service.ts b/src/app/pd/services/twilio/twilio.service.ts index b2b5cc1..4df135b 100644 --- a/src/app/pd/services/twilio/twilio.service.ts +++ b/src/app/pd/services/twilio/twilio.service.ts @@ -138,8 +138,7 @@ export class TwilioService { }); let withoutcustomer = this.getWithOutCustomer(this.roomParticipants) console.log('getWithOutCustomer',withoutcustomer) - alert(this.user_data.type); - alert(withoutcustomer); + if((this.user_data.type == '2'|| this.user_data.type == '1') && (withoutcustomer == '1')) { console.log("User type in service",this.user_data)