You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by GitBox <gi...@apache.org> on 2021/08/01 14:25:08 UTC
[GitHub] [fineract] BLasan commented on a change in pull request #1772: Feat: Undo waive charge
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: commits-unsubscribe@fineract.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org