magyari-adam commented on code in PR #4432:
URL: https://github.com/apache/fineract/pull/4432#discussion_r2003333199
##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/api/LoanTransactionsApiResource.java:
##########
@@ -637,4 +729,19 @@ private Long getResolvedLoanId(final Long loanId, final
ExternalId loanExternalI
}
return resolvedLoanId;
}
+
+ private Long getResolvedLoanIdWithExistsCheck(final Long loanId, final
ExternalId loanExternalId) {
+ if (loanId != null) {
+ loanReadPlatformService.retrieveOne(loanId);
Review Comment:
Reworked with exists query.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]