Skip to content
Permalink
Browse files
fixed equal for account stats
  • Loading branch information
mgeiss committed Jul 9, 2017
1 parent 4da5edd commit 2cc1c5ce45d31acabcc0e9d785b3197fbc241399
Showing 1 changed file with 1 addition and 1 deletion.
@@ -172,7 +172,7 @@ ResponseEntity<TellerTransactionCosts> post(@PathVariable("tellerCode") final St
} else {
final Account customerAccount = optionalCustomerAccount.get();

if (!customerAccount.getState().equals(Account.State.OPEN)) {
if (!customerAccount.getState().equals(Account.State.OPEN.name())) {
throw ServiceException.conflict("Account {0} is not open.", customerAccount.getIdentifier());
}

0 comments on commit 2cc1c5c

Please sign in to comment.