Skip to content

Commit

Permalink
Merge pull request #461 from zabuldon/dev
Browse files Browse the repository at this point in the history
fix: remove old client_id (#460)
  • Loading branch information
alandtse authored Mar 3, 2024
2 parents 94f478d + c1f8314 commit 9ebef9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
1 change: 1 addition & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@
- Bre77 [Github](https://github.com/Bre77)
- craigrouse [Github](https://github.com/craigrouse)
- thierryVT [Github](https://github.com/thierryvt)
- llamafilm [Github](https://github.com/llamafilm)
10 changes: 1 addition & 9 deletions teslajsonpy/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,7 @@ def __init__(
) -> None:
"""Initialize connection object."""
self.user_agent: Text = "TeslaApp/4.10.0"
if client_id == "ownerapi":
self.client_id: Text = (
"81527cff06843c8634fdc09e8ac0abef" "b46ac849f38fe1e431c2ef2106796384"
)
self.client_secret: Text = (
"c7257eb71a564034f9419ee651c7d0e5f7" "aa6bfbd18bafb5c5c033b093bb2fa3"
)
else:
self.client_id = client_id
self.client_id = client_id
if api_proxy_url is None:
self.baseurl: Text = DOMAIN_KEY.get(
auth_domain[auth_domain.rfind(".") :], API_URL
Expand Down

0 comments on commit 9ebef9f

Please sign in to comment.