Skip to content

Commit

Permalink
[JN-1440] Workaround fix for DSM not returning tracking number for re…
Browse files Browse the repository at this point in the history
…turnOnly kits (#1183)
  • Loading branch information
MatthewBemis authored Nov 5, 2024
1 parent e9b0532 commit 8efedd6
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,9 @@ private void saveKitStatus(KitRequest kitRequest, PepperKit pepperKit, Instant p
setKitDates(kitRequest, pepperKit);
// for now just copy these over on each update, since there is currently no reason to make it conditional
kitRequest.setTrackingNumber(pepperKit.getTrackingNumber());
kitRequest.setReturnTrackingNumber(pepperKit.getReturnTrackingNumber());
if(pepperKit.getReturnTrackingNumber() != null) {
kitRequest.setReturnTrackingNumber(pepperKit.getReturnTrackingNumber());
}
kitRequest.setErrorMessage(pepperKit.getErrorMessage());
dao.update(kitRequest);
} catch (JsonProcessingException e) {
Expand Down

0 comments on commit 8efedd6

Please sign in to comment.