(20241217) Minor fix.

This commit is contained in:
2024-12-17 16:07:31 +05:30
parent 2e0c0224d4
commit 6d360b88ae
+2 -2
View File
@@ -280,7 +280,7 @@ class MailController:
) )
@staticmethod @staticmethod
async def get_token( async def get_token_from_key(
mongo_conn: AsyncMongo, mongo_conn: AsyncMongo,
token_key: ObjectId | str = None, token_key: ObjectId | str = None,
) -> CoreAuthTokenModel | None: ) -> CoreAuthTokenModel | None:
@@ -292,7 +292,7 @@ class MailController:
) )
@staticmethod @staticmethod
async def get_tokens( async def get_tokens_from_keys(
mongo_conn: AsyncMongo, mongo_conn: AsyncMongo,
token_keys: ObjectId | str = None, token_keys: ObjectId | str = None,
) -> List[CoreAuthTokenModel] | None: ) -> List[CoreAuthTokenModel] | None: