Skip to content

Commit

Permalink
Changed return type of build_user_creds
Browse files Browse the repository at this point in the history
Changed return type of `auth.managers.Oauth2Manager.build_user_creds` from `dict` to `UserCreds`
  • Loading branch information
Luciism authored Oct 1, 2023
1 parent 69d0162 commit 6f02c3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiogoogle/auth/managers.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ def authorization_url(

async def build_user_creds(
self, grant, client_creds=None, grant_type=AUTH_CODE_GRANT_TYPE
) -> dict:
) -> UserCreds:
"""
Second step of Oauth2 authrization code flow. Creates a User Creds object with access and refresh token
Expand Down

0 comments on commit 6f02c3e

Please sign in to comment.