You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by ar...@apache.org on 2023/01/20 14:11:52 UTC
[fineract] branch develop updated: [FINERACT-1678] Inline Loan COB for Batch API
This is an automated email from the ASF dual-hosted git repository.
arnold pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git
The following commit(s) were added to refs/heads/develop by this push:
new 760102e3b [FINERACT-1678] Inline Loan COB for Batch API
760102e3b is described below
commit 760102e3bbee792f8dc03d74c72df81d585c843f
Author: taskain7 <ta...@gmail.com>
AuthorDate: Fri Jan 20 07:41:49 2023 +0100
[FINERACT-1678] Inline Loan COB for Batch API
---
.../apache/fineract/infrastructure/jobs/filter/LoanCOBApiFilter.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/jobs/filter/LoanCOBApiFilter.java b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/jobs/filter/LoanCOBApiFilter.java
index 95b09bd70..61e665e52 100644
--- a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/jobs/filter/LoanCOBApiFilter.java
+++ b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/jobs/filter/LoanCOBApiFilter.java
@@ -217,7 +217,7 @@ public class LoanCOBApiFilter extends OncePerRequestFilter implements BatchFilte
} else {
try {
List<Long> result = calculateRelevantLoanIds("/" + batchRequest.getRelativeUrl());
- if (!isLoanSoftLocked(result)) {
+ if (isLoanSoftLocked(result)) {
executeInlineCob(result);
}
return chain.serviceCall(batchRequest, uriInfo);