From bf7064c30f2d8dc848c9579d1d3d5a23bff9bd2f Mon Sep 17 00:00:00 2001 From: khushal Date: Tue, 3 Dec 2024 17:47:31 +0530 Subject: [PATCH] (20241203) Trying to fix the 'Close' button x2 --- api/blueprints/mail/oauth_callback.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/blueprints/mail/oauth_callback.py b/api/blueprints/mail/oauth_callback.py index a488567..8fbd583 100644 --- a/api/blueprints/mail/oauth_callback.py +++ b/api/blueprints/mail/oauth_callback.py @@ -262,7 +262,9 @@ async def mail_callback( # ┣┫┏┓┏┓┏┫┃┏┓ ┃ ┏┓┃┃┣┓┏┓┏┃┏┏ # ┛┗┗┻┛┗┗┻┗┗ ┗┛┗┻┗┗┗┛┗┻┗┛┗┛ - if mail_client == "gmail": return await handle_gmail_callback() + if mail_client == "gmail": + template = await handle_gmail_callback() + return await template # ┓┏ ┓┓ ┳ ┓• ┓ ┏┓┓• # ┣┫┏┓┏┓┏┫┃┏┓ ┃┏┓┓┏┏┓┃┓┏┫ ┃ ┃┓┏┓┏┓╋