[FINERACT-1678] Inline Loan COB for Batch API

This commit is contained in:
taskain7
2023-01-20 15:11:46 +01:00
committed by Arnold Gálovics
parent ef153c2b69
commit 760102e3bb
@@ -217,7 +217,7 @@ public class LoanCOBApiFilter extends OncePerRequestFilter implements BatchFilte
} else { } else {
try { try {
List<Long> result = calculateRelevantLoanIds("/" + batchRequest.getRelativeUrl()); List<Long> result = calculateRelevantLoanIds("/" + batchRequest.getRelativeUrl());
if (!isLoanSoftLocked(result)) { if (isLoanSoftLocked(result)) {
executeInlineCob(result); executeInlineCob(result);
} }
return chain.serviceCall(batchRequest, uriInfo); return chain.serviceCall(batchRequest, uriInfo);