From 503748db47092e53310c5a691b8abd3dbcede571 Mon Sep 17 00:00:00 2001 From: Loganathan Sekar <42532387+LoganathanSekar7627@users.noreply.github.com> Date: Mon, 13 Mar 2023 19:46:12 +0530 Subject: [PATCH] Revert mosip 26314 fix for read status for auth lock status (#796) * Fix for setting read status to false * Revert "Fix for setting read status to false (#791)" This reverts commit c00a0512aac93ec9a38350ccf9c8617b80cee6a3. * Check test fix * Fix NPE in test in github * Test fix --------- Co-authored-by: Loganathan Sekar --- .../io/mosip/resident/service/impl/ResidentVidServiceImpl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resident/resident-service/src/main/java/io/mosip/resident/service/impl/ResidentVidServiceImpl.java b/resident/resident-service/src/main/java/io/mosip/resident/service/impl/ResidentVidServiceImpl.java index fb7dfe67754..fb8b4ebe43e 100644 --- a/resident/resident-service/src/main/java/io/mosip/resident/service/impl/ResidentVidServiceImpl.java +++ b/resident/resident-service/src/main/java/io/mosip/resident/service/impl/ResidentVidServiceImpl.java @@ -353,6 +353,9 @@ public Tuple2, String> generateVidV2(BaseVidRequ responseDto.setVersion(version); } responseDto.setResponsetime(DateUtils.formatToISOString(DateUtils.getUTCCurrentDateTime())); + if(eventId != null) { + eventId = ResidentConstants.NOT_AVAILABLE; + } return Tuples.of(responseDto, eventId); }