Updated response ?
This commit is contained in:
parent
371c4fa5aa
commit
92ba0f5729
@ -40,7 +40,7 @@ class AccountCommandController @Autowired constructor(
|
|||||||
fun debitMoneyFromAccount(
|
fun debitMoneyFromAccount(
|
||||||
@PathVariable(value = "accountId") accountId: String,
|
@PathVariable(value = "accountId") accountId: String,
|
||||||
@RequestBody moneyDebitDTO: MoneyAmountDTO
|
@RequestBody moneyDebitDTO: MoneyAmountDTO
|
||||||
): CompletableFuture<String?>? {
|
): CompletableFuture<String?> {
|
||||||
return this.accountCommandService.debitMoneyFromAccount(accountId, moneyDebitDTO)
|
return this.accountCommandService.debitMoneyFromAccount(accountId, moneyDebitDTO)
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user