GuglielmoTor commited on
Commit
64038a8
·
verified ·
1 Parent(s): 896ae69

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ from Data_Fetching_and_Rendering import fetch_org_urn
6
  token_received = {"status": False, "token": "", "client_id": ""}
7
 
8
  # 1) this will be called by POST
9
- def receive_token(accessToken: str, client_id: str):
10
  try:
11
  token_dict = json.loads(accessToken.replace("'", '"')) # crude but works if trusted input
12
  except json.JSONDecodeError as e:
 
6
  token_received = {"status": False, "token": "", "client_id": ""}
7
 
8
  # 1) this will be called by POST
9
+ def receive_token(accessToken: dict, client_id: str):
10
  try:
11
  token_dict = json.loads(accessToken.replace("'", '"')) # crude but works if trusted input
12
  except json.JSONDecodeError as e: