Omkar008 commited on
Commit
aaebbaa
1 Parent(s): 864b722

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +1 -1
test.py CHANGED
@@ -35,7 +35,7 @@ async def login_google():
35
  "url_hr": oauth_url_hr
36
  }
37
 
38
- @app.get("/auth/google")
39
  async def auth_google(code: str):
40
  #This code is basically the authorization code and this authorization code helps us to get the access token with the required scopes that we have set .
41
  #We require the gmail.readonly scopes that requires verification of our application and all.
 
35
  "url_hr": oauth_url_hr
36
  }
37
 
38
+ @app.post("/auth/google")
39
  async def auth_google(code: str):
40
  #This code is basically the authorization code and this authorization code helps us to get the access token with the required scopes that we have set .
41
  #We require the gmail.readonly scopes that requires verification of our application and all.