wip on issue #22

This commit is contained in:
dartpopikyardo
2016-09-02 01:45:30 +03:00
parent f76912a6cf
commit 47e9053285
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ public class AccountQueryController {
return ResponseEntity.ok().body(new GetAccountResponse(accountInfo.getId(), new BigDecimal(accountInfo.getBalance()), accountInfo.getTitle(), accountInfo.getDescription()));
}
@RequestMapping(value = "/customer/{customerId}/accounts", method = RequestMethod.GET)
@RequestMapping(value = "/customers/{customerId}/accounts", method = RequestMethod.GET)
public ResponseEntity<GetAccountsResponse> getAccountsForCustomer(@PathVariable("customerId") String customerId) {
return ResponseEntity.ok().body(
new GetAccountsResponse(