1
0
mirror of https://github.com/USA-RedDragon/badnest.git synced 2025-01-18 12:45:26 +00:00

Final Update for Update_Camera Fix

This commit is contained in:
mastermc0 2020-04-16 22:09:07 +01:00 committed by GitHub
parent d66560e8bb
commit 883c0f1250
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -191,7 +191,7 @@ class NestAPI():
'User-Agent': USER_AGENT,
'X-Requested-With': 'XmlHttpRequest',
'Referer': 'https://home.nest.com/',
'cookie': f"cztoken={self._access_token}"
'cookie': f"user_token={self._access_token}"
}
r = self._session.get(url=f"{CAMERA_WEBAPI_BASE}/api/cameras.get_with_properties?uuid="+camera
, headers=headers)