From 92cd6536f066060f4b2996268d7ba54c680bc5d8 Mon Sep 17 00:00:00 2001 From: Paulo Gomes da Cruz Junior Date: Fri, 12 Jan 2024 15:32:16 -0800 Subject: [PATCH] fix: fixing client type reading issue (#731) --- .../ca/bc/gov/app/service/legacy/LegacyPersistenceService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/processor/src/main/java/ca/bc/gov/app/service/legacy/LegacyPersistenceService.java b/processor/src/main/java/ca/bc/gov/app/service/legacy/LegacyPersistenceService.java index 93a3c54077..6e6d03cc13 100644 --- a/processor/src/main/java/ca/bc/gov/app/service/legacy/LegacyPersistenceService.java +++ b/processor/src/main/java/ca/bc/gov/app/service/legacy/LegacyPersistenceService.java @@ -23,7 +23,7 @@ public Mono> persist( Flux .fromStream(persistenceServices.stream()) .filter(service -> service.filterByType( - message.parameters().get(ApplicationConstant.SUBMISSION_TYPE).toString() + message.parameters().get(ApplicationConstant.CLIENT_TYPE_CODE).toString() ) ) .next()