Skip to content

Commit 717ea4a

Browse files
committed
OPEN State integration #18
1 parent 7704077 commit 717ea4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/kotlin/io/openfuture/api/component/state/DefaultStateApi.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ class DefaultStateApi(private val stateRestTemplate: RestTemplate) : StateApi {
1111

1212
override fun createWallet(address: String, webHook: String, blockchain: Blockchain): StateWalletDto {
1313
val request = CreateStateWalletRequest(address, webHook, blockchain)
14-
val result = stateRestTemplate.postForEntity("/wallets", request, StateWalletDto::class.java)
15-
return result.body!!
14+
val response = stateRestTemplate.postForEntity("/wallets", request, StateWalletDto::class.java)
15+
return response.body!!
1616
}
1717

1818
}

0 commit comments

Comments
 (0)