Skip to content

Commit

Permalink
Merge pull request #84 from cryptohopper/development
Browse files Browse the repository at this point in the history
v2TestApiKeys BodyItem fix
  • Loading branch information
canerten authored Jun 1, 2023
2 parents 109e168 + 9c97d1a commit 246b246
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,22 @@ class HopperAPIV2TestApiKeyRequest: HopperAPIRequest<HopperAPIV2TestApiKeyRespon
addBodyItem("exchange", (exchange?: ""))
}
if (apiKey != null) {
addBodyItem("apiKey", (apiKey?: ""))
addBodyItem("api_key", (apiKey?: ""))
}
if (apiSecret != null) {
addBodyItem("apiSecret", (apiSecret?: ""))
addBodyItem("api_secret", (apiSecret?: ""))
}
if (apiPassphrase != null) {
addBodyItem("apiPassphrase", (apiPassphrase?: ""))
addBodyItem("api_passphrase", (apiPassphrase?: ""))
}
if (extraApiKey != null) {
addBodyItem("extraApiKey", (extraApiKey?: ""))
addBodyItem("extra_api_key", (extraApiKey?: ""))
}
if (extraApiSecret != null) {
addBodyItem("extraApiSecret", (extraApiSecret?: ""))
addBodyItem("extra_api_secret", (extraApiSecret?: ""))
}
if (subAccount != null) {
addBodyItem("subAccount", (subAccount?: ""))
addBodyItem("sub_account", (subAccount?: ""))
}
}
}

0 comments on commit 246b246

Please sign in to comment.