mirror of
https://github.com/USA-RedDragon/badnest.git
synced 2025-01-18 18:40:42 +00:00
API: Set user_id properly
This commit is contained in:
parent
6c809da4c0
commit
7e7b4b85de
@ -19,7 +19,7 @@ class NestAPI:
|
||||
r = self._session.post(
|
||||
f"{API_URL}/session", json={"email": email, "password": password}
|
||||
)
|
||||
self.user_id = r.json()["userid"]
|
||||
self._user_id = r.json()["userid"]
|
||||
self._access_token = r.json()["access_token"]
|
||||
|
||||
def update(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user