adamsaghy commented on code in PR #2687:
URL: https://github.com/apache/fineract/pull/2687#discussion_r1001046466


##########
fineract-provider/src/main/java/org/apache/fineract/commands/service/CommandWrapperBuilder.java:
##########
@@ -994,6 +994,15 @@ public CommandWrapperBuilder updateLoanApplication(final 
Long loanId) {
         return this;
     }
 
+    public CommandWrapperBuilder markAsFraud(final Long loanId) {
+        this.actionName = "SETFRAUD";
+        this.entityName = "LOAN";
+        this.entityId = loanId;
+        this.loanId = loanId;
+        this.href = "/loans/" + loanId + "/flags";

Review Comment:
   Please remove "flags"



-- 
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]

Reply via email to