BLasan commented on a change in pull request #1772:
URL: https://github.com/apache/fineract/pull/1772#discussion_r680518931
##########
File path:
fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/api/LoanTransactionsApiResource.java
##########
@@ -255,11 +256,34 @@ public String adjustLoanTransaction(@PathParam("loanId")
@Parameter(description
@Parameter(hidden = true) final String apiRequestBodyAsJson) {
final CommandWrapperBuilder builder = new
CommandWrapperBuilder().withJson(apiRequestBodyAsJson);
- final CommandWrapper commandRequest =
builder.adjustTransaction(loanId, transactionId).build();
+ CommandProcessingResult result = null;
- final CommandProcessingResult result =
this.commandsSourceWritePlatformService.logCommandSource(commandRequest);
+ final CommandWrapper commandRequest =
builder.adjustTransaction(loanId, transactionId).build();
+ result =
this.commandsSourceWritePlatformService.logCommandSource(commandRequest);
return this.toApiJsonSerializer.serialize(result);
}
+ /**
+ * TODO: Add Swagger annotations.
+ *
Review comment:
This is done. Will remove this
--
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]