From a8449ebaef2a543696e6307e9095d23e632b01a5 Mon Sep 17 00:00:00 2001 From: khushal Date: Thu, 26 Dec 2024 10:08:58 +0530 Subject: [PATCH] (20241226) E-Mail fetch (single) bug fix. --- api/helpers/user/token_check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/helpers/user/token_check.py b/api/helpers/user/token_check.py index 8779be1..08647b0 100644 --- a/api/helpers/user/token_check.py +++ b/api/helpers/user/token_check.py @@ -113,7 +113,7 @@ async def is_authorized( # Fetch the auth tokens from the database: # Retrieve the document of the token id: auth_tokens = await current_app.core_auth_token_controller.get_tokens_from_ids( - mongo_conn = mongo_conn, + mongo_data_conn = mongo_conn, token_ids = [ObjectId(t) for t in token_ids] )