(20241203) Bug fix -> I had put 'set_token' where I should have put 'get_token'.
This commit is contained in:
@@ -169,7 +169,7 @@ async def mail_callback(
|
||||
tokens.email = user_profile.data["emailAddress"] if user_profile.success else None
|
||||
|
||||
# The e-mail id that we requested access to and the one that granted us access should be the same:
|
||||
placeholder_token = await current_app.mail_oauth_model.set_token(
|
||||
placeholder_token = await current_app.mail_oauth_model.get_token(
|
||||
mongo_conn = current_app.data_mongo,
|
||||
account_identifier = inbound_data["state"]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user