(20241205) Accepting many token ids to list mails.

This commit is contained in:
2024-12-05 15:07:07 +05:30
parent 9b154a6cce
commit 2c053fa6f2
7 changed files with 19 additions and 11 deletions
+1 -1
View File
@@ -211,7 +211,7 @@ async def handle_gmail_callback() -> render_template:
mongo_conn = current_app.data_mongo,
session_token = g.inbound_headers.get("X-Session-Token"),
token_id = g.inbound_data["state"],
client_user_id = {"email": tokens.email},
client_user_id = tokens.client_user_id,
token = tokens.model_dump()
)