From c387c6155a4a3d4ae73fef05ecaaecfd0b0ef763 Mon Sep 17 00:00:00 2001 From: Madhukar Date: Thu, 13 Sep 2012 19:19:49 +0530 Subject: [PATCH] withdraw_renew_of deposit application on maturity --- .../org/mifosng/platform/api/DepositAccountsApiResource.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mifosng-provider/src/main/java/org/mifosng/platform/api/DepositAccountsApiResource.java b/mifosng-provider/src/main/java/org/mifosng/platform/api/DepositAccountsApiResource.java index 26bfc27f3..a627e3afe 100644 --- a/mifosng-provider/src/main/java/org/mifosng/platform/api/DepositAccountsApiResource.java +++ b/mifosng-provider/src/main/java/org/mifosng/platform/api/DepositAccountsApiResource.java @@ -206,8 +206,7 @@ public class DepositAccountsApiResource { response = Response.ok().entity(identifier).build(); } else if (is(commandParam, "mature")){ EntityIdentifier identifier = this.depositAccountWritePlatformService.matureDepositApplication(command); - response = Response.ok().entity(identifier).build(); - } + response = Response.ok().entity(identifier).build(); } UndoStateTransitionCommand undoCommand = new UndoStateTransitionCommand(accountId, command.getNote());