Skip to content

Commit

Permalink
Update func signature as no longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgianaElena committed Apr 11, 2023
1 parent 1cff43d commit 24d64fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oauthenticator/oauth2.py
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ def build_auth_state_dict(self, token_info, user_info):
self.user_auth_state_key: user_info,
}

async def update_auth_model(self, auth_model, **kwargs):
async def update_auth_model(self, auth_model):
"""
Updates `auth_model` dict if any fields have changed or additional information is available
or returns the unchanged `auth_model`.
Expand Down Expand Up @@ -798,7 +798,7 @@ async def authenticate(self, handler, data=None, **kwargs):
return None

# update the auth model with any info if available
return await self.update_auth_model(auth_model, **kwargs)
return await self.update_auth_model(auth_model)

_deprecated_oauth_aliases = {}

Expand Down

0 comments on commit 24d64fd

Please sign in to comment.