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