(20241217) payment reference will now be the same as the payment id.
This commit is contained in:
@@ -286,7 +286,7 @@ class MailController:
|
||||
) -> CoreAuthTokenModel | None:
|
||||
|
||||
# Simply call the core model:
|
||||
return await current_app.core_auth_token_controller.get_token(
|
||||
return await current_app.core_auth_token_controller.get_token_from_key(
|
||||
mongo_conn = mongo_conn,
|
||||
token_key = token_key
|
||||
)
|
||||
@@ -298,7 +298,7 @@ class MailController:
|
||||
) -> List[CoreAuthTokenModel] | None:
|
||||
|
||||
# Simply call the core model:
|
||||
return await current_app.core_auth_token_controller.get_tokens(
|
||||
return await current_app.core_auth_token_controller.get_tokens_from_keys(
|
||||
mongo_conn = mongo_conn,
|
||||
token_keys = token_keys
|
||||
)
|
||||
@@ -611,14 +611,12 @@ class MailController:
|
||||
@staticmethod
|
||||
async def get_one_mail(
|
||||
mongo_conn: AsyncMongo,
|
||||
token_id: ObjectId | str,
|
||||
message_id: ObjectId | str
|
||||
) -> CoreMessageModel | None:
|
||||
|
||||
# Simply call the core model:
|
||||
return await current_app.core_message_controller.get_message(
|
||||
mongo_conn = mongo_conn,
|
||||
token_id = token_id,
|
||||
message_id = message_id
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user