From 92ba0f5729422258155d412cf0492eb7a4cce858 Mon Sep 17 00:00:00 2001 From: Sambo Chea Date: Fri, 21 Aug 2020 12:17:28 +0700 Subject: [PATCH] Updated response ? --- .../com/cubetiqs/demo/axon/api/AccountCommandController.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/cubetiqs/demo/axon/api/AccountCommandController.kt b/src/main/kotlin/com/cubetiqs/demo/axon/api/AccountCommandController.kt index 507c6e5..5c89b1c 100644 --- a/src/main/kotlin/com/cubetiqs/demo/axon/api/AccountCommandController.kt +++ b/src/main/kotlin/com/cubetiqs/demo/axon/api/AccountCommandController.kt @@ -40,7 +40,7 @@ class AccountCommandController @Autowired constructor( fun debitMoneyFromAccount( @PathVariable(value = "accountId") accountId: String, @RequestBody moneyDebitDTO: MoneyAmountDTO - ): CompletableFuture? { + ): CompletableFuture { return this.accountCommandService.debitMoneyFromAccount(accountId, moneyDebitDTO) } } \ No newline at end of file