Skip to content

Commit

Permalink
Merge pull request #7 from crypto-com:NO-JIRA-bug-fix
Browse files Browse the repository at this point in the history
update toml entry point and endpoint apikey string
  • Loading branch information
yeehan-crypto-com authored Oct 29, 2024
2 parents 86fc706 + 4352ec9 commit 01eae58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def get_balance(chain_id: str, address: str, api_key: str) -> ApiResponse:
:raises Exception: If the fetch request fails or the server responds with an error message.
"""
url = f"""https://developer-platform-api.crypto.com/v1/cdc-developer-platform/wallet/{
chain_id}/balance?address={address}&api_key={api_key}"""
chain_id}/balance?address={address}&apiKey={api_key}"""

try:
response = requests.get(
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ exclude = '''
profile = "black"

[tool.poetry.scripts]
cryptocom-developer-platform-client = "cryptocom-developer-platform-client.cli:main"
cryptocom-developer-platform-client = "crypto_com_developer_platform_client.cli:main"

0 comments on commit 01eae58

Please sign in to comment.