Skip to content

Commit 4beed4d

Browse files
committed
Key api endpoint fix
1 parent 2b8a7cc commit 4beed4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/io/openfuture/api/component/key/DefaultKeyApi.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class DefaultKeyApi(
2525
}
2626

2727
override fun importWalletV2(request: ImportWalletOpenKeyRequest): KeyWalletDto {
28-
val response = keyRestTemplate.postForEntity("/key/wallet", request, KeyWalletDto::class.java)
28+
val response = keyRestTemplate.postForEntity("/key/import/wallet", request, KeyWalletDto::class.java)
2929
return response.body!!
3030
}
3131

0 commit comments

Comments
 (0)