Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
NotChristianGarcia committed Nov 22, 2024
1 parent 6775cf0 commit 3c38c0e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion service/api_pods_podid_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,8 @@ def callback(pod_id_net, request: Request):
}

try:
response = requests.post(url, data=data, auth=(client_id, res['result']['client_key']))
logger.debug(dir(res))
response = requests.post(url, data=data, auth=(client_id, res.client_key))
response.raise_for_status()
json_resp = json.loads(response.text)
token = json_resp['result']['access_token']['access_token']
Expand Down

0 comments on commit 3c38c0e

Please sign in to comment.