Skip to content

Commit

Permalink
MOSIP:17295 - Add enhancement on the rest template instance creation (#…
Browse files Browse the repository at this point in the history
…125)

* MOSIP:17046 - Add ref id in the packet creation while encryption (#129)

* MOSIP-16494: Fix the packet creation exception
  • Loading branch information
abuabdul authored Sep 23, 2021
1 parent c7d5ab4 commit f6b6468
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public PacketGeneratorResDto createPacket(ResidentUpdateDto request) throws Base
request.getRequestType().toString(), request.getCenterId(), request.getMachineId()));
packetDto.setAudits(utilities.generateAudit(packetDto.getId()));
packetDto.setOfflineMode(false);

packetDto.setRefId(request.getCenterId() + "_" + request.getMachineId());
List<PacketInfo> packetInfos = packetWriter.createPacket(packetDto);

if (CollectionUtils.isEmpty(packetInfos) || packetInfos.iterator().next().getId() == null)
Expand Down

0 comments on commit f6b6468

Please sign in to comment.