Skip to content

Commit

Permalink
fixed most of static checks
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunchua authored and shaunchua committed Jul 11, 2024
1 parent 79e61e4 commit 0d40a7f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions store/app/routers/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ async def github_login() -> str:
"""Gives the user a redirect url to login with github.
Returns:
Github oauth redirect url
Github oauth redirect url.
"""
return f"https://github.com/login/oauth/authorize?client_id={settings.oauth.github_client_id}"

Expand All @@ -346,12 +346,12 @@ async def github_code(
"""Gives the user a session token upon successful github authentication and creation of user.
Args:
code: Github code returned from the successful authentication
code: Github code returned from the successful authentication.
crud: The CRUD object.
response: The response object.
Returns:
UserInfoResponse
UserInfoResponse.
"""
params = {
"client_id": settings.oauth.github_client_id,
Expand Down

0 comments on commit 0d40a7f

Please sign in to comment.