diff --git a/app/wyzecam/api.py b/app/wyzecam/api.py index 754c4f36..4d452406 100644 --- a/app/wyzecam/api.py +++ b/app/wyzecam/api.py @@ -316,8 +316,7 @@ def get_cam_webrtc(auth_info: WyzeCredential, mac_id: str) -> dict: ui_headers = _headers() ui_headers["content-type"] = "application/json" - ui_headers["authorization"] = auth_info.access_token - + ui_headers["authorization"] = f"Bearer {auth_info.access_token}" resp = get( f"https://webrtc.api.wyze.com/signaling/device/{mac_id}?use_trickle=true", headers=ui_headers,