Omkar008 commited on
Commit
c8a187f
·
verified ·
1 Parent(s): 240ebb2

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -19,7 +19,7 @@ async def test(request:Request):
19
  body = await request.json()
20
  token_url = "https://oauth2.googleapis.com/token"
21
  data= {
22
- "code":body.get('refresh_token',None),
23
  "client_id": os.getenv("GOOGLE_CLIENT_ID"),
24
  "client_secret": os.getenv("GOOGLE_CLIENT_SECRET"),
25
  "redirect_uri": os.getenv("GOOGLE_REDIRECT_URI"),
 
19
  body = await request.json()
20
  token_url = "https://oauth2.googleapis.com/token"
21
  data= {
22
+ "refresh_token":body.get('refresh_token',None),
23
  "client_id": os.getenv("GOOGLE_CLIENT_ID"),
24
  "client_secret": os.getenv("GOOGLE_CLIENT_SECRET"),
25
  "redirect_uri": os.getenv("GOOGLE_REDIRECT_URI"),