RomZay commited on
Commit
5940825
·
verified ·
1 Parent(s): 0b48135

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -36,6 +36,7 @@ def authorize(api_key):
36
 
37
  if response.status_code == 200:
38
  response_json = response.json()
 
39
  print(f"Response: {response_json}")
40
  return True
41
  else:
 
36
 
37
  if response.status_code == 200:
38
  response_json = response.json()
39
+ headers['authorization'] = api_key
40
  print(f"Response: {response_json}")
41
  return True
42
  else: