Skip to content

Commit

Permalink
access token
Browse files Browse the repository at this point in the history
  • Loading branch information
mrlt8 committed Apr 19, 2024
1 parent 2b9e732 commit 6f1b5b7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/wyzecam/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6f1b5b7

Please sign in to comment.