Skip to content

Commit

Permalink
Fix public_key
Browse files Browse the repository at this point in the history
  • Loading branch information
Bre77 committed Jan 11, 2024
1 parent 4705752 commit 6891e2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tesla_fleet_api/partner.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def __init__(self, parent):
async def public_key(self, domain: str | None = None) -> dict[str, Any]:
"""Returns the public key associated with a domain. It can be used to ensure the registration was successful."""
return await self._request(
Methods.GET, "api/1/partner_accounts/public_key", data={domain: domain}
Methods.GET, "api/1/partner_accounts/public_key", {domain: domain}
)

async def register(self, domain: str) -> dict[str, Any]:
Expand Down

0 comments on commit 6891e2d

Please sign in to comment.