Skip to content

Commit

Permalink
merged fix deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
LuciaM1 committed Nov 27, 2023
1 parent d693617 commit 253ac4f
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
public class BpmnBankConfigService {
@Inject
protected BpmnBankConfigRepository bankConfigRepository;

@Inject
BpmnConfigMapper bpmnConfigMapper;

Expand All @@ -45,7 +44,6 @@ public Uni<Optional<BpmnBankConfig>> findByConfigurationsAndFunction(String acqu
if (x.size() > 1) {
throw new AtmLayerException("Multiple BPMN found for a single configuration.", Response.Status.INTERNAL_SERVER_ERROR, AppErrorCodeEnum.ATMLM_500);
}

return Uni.createFrom().item(x.isEmpty() ? Optional.empty() : Optional.ofNullable(x.get(0)));
}));
}
Expand Down

0 comments on commit 253ac4f

Please sign in to comment.