thomasgauthier commited on
Commit
d86547c
1 Parent(s): 30c1075
Files changed (1) hide show
  1. main.py +1 -2
main.py CHANGED
@@ -401,8 +401,7 @@ async def oauth_callback(code: str, state: str):
401
  'client_secret': client_secret
402
  }
403
  )
404
- token_data = token_response.json()
405
- access_token = token_data['access_token']
406
 
407
  print(access_token)
408
  except Exception:
 
401
  'client_secret': client_secret
402
  }
403
  )
404
+ access_token = token_data
 
405
 
406
  print(access_token)
407
  except Exception: