From eff73f490d4966b90b2d4097376c9a17015e608a Mon Sep 17 00:00:00 2001 From: NamrataSweya Date: Tue, 24 Sep 2024 14:12:58 +0530 Subject: [PATCH] dev test fixed issue --- apps/drec-api/src/pods/device-group/device-group.service.ts | 2 +- version | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/drec-api/src/pods/device-group/device-group.service.ts b/apps/drec-api/src/pods/device-group/device-group.service.ts index ead4c5d1c..26c1626d7 100755 --- a/apps/drec-api/src/pods/device-group/device-group.service.ts +++ b/apps/drec-api/src/pods/device-group/device-group.service.ts @@ -1250,7 +1250,7 @@ export class DeviceGroupService { lastCertifiableDate.setDate( lastCertifiableDate.getDate() + configurationseting[0].no_of_days, ); - if (group.reservationExpiryDate === null) { + if (group.reservationExpiryDate != null) { deviceGroup['reservationExpiryDate'] = group.reservationExpiryDate; } else { deviceGroup['reservationExpiryDate'] = lastCertifiableDate; diff --git a/version b/version index c3fe93e2e..95323f178 100755 --- a/version +++ b/version @@ -1 +1 @@ -0.0.146 +0.0.147 \ No newline at end of file