(20241217) Minor fix.
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user