diff --git a/src/schedule/services/schedule.service.ts b/src/schedule/services/schedule.service.ts index 866e279..c4717e6 100644 --- a/src/schedule/services/schedule.service.ts +++ b/src/schedule/services/schedule.service.ts @@ -48,7 +48,8 @@ export class ScheduleService { if ( deviceDetails.productDevice.prodType !== ProductType.THREE_G && deviceDetails.productDevice.prodType !== ProductType.ONE_G && - deviceDetails.productDevice.prodType !== ProductType.TWO_G + deviceDetails.productDevice.prodType !== ProductType.TWO_G && + deviceDetails.productDevice.prodType !== ProductType.WH ) { throw new HttpException( 'This device is not supported for schedule', @@ -101,7 +102,8 @@ export class ScheduleService { if ( deviceDetails.productDevice.prodType !== ProductType.THREE_G && deviceDetails.productDevice.prodType !== ProductType.ONE_G && - deviceDetails.productDevice.prodType !== ProductType.TWO_G + deviceDetails.productDevice.prodType !== ProductType.TWO_G && + deviceDetails.productDevice.prodType !== ProductType.WH ) { throw new HttpException( 'This device is not supported for schedule', @@ -214,7 +216,8 @@ export class ScheduleService { if ( deviceDetails.productDevice.prodType !== ProductType.THREE_G && deviceDetails.productDevice.prodType !== ProductType.ONE_G && - deviceDetails.productDevice.prodType !== ProductType.TWO_G + deviceDetails.productDevice.prodType !== ProductType.TWO_G && + deviceDetails.productDevice.prodType !== ProductType.WH ) { throw new HttpException( 'This device is not supported for schedule',