(20241227) Payment auth fixed.

This commit is contained in:
2024-12-27 09:53:32 +05:30
parent a26bb2e85f
commit 2349bf3d3e
2 changed files with 11 additions and 7 deletions
+5 -5
View File
@@ -140,9 +140,9 @@ class PaymentController:
success = False
# Get a token id:
token_key = await current_app.core_auth_token_controller.get_token_key(
db_conn = db_conn,
mongo_conn = mongo_conn,
token_key = await current_app.core_auth_token_controller.generate_token_key(
sql_conn = db_conn,
mongo_data_conn = mongo_conn,
auth_token = auth_token,
token_notes = {},
session_token = session_token
@@ -150,8 +150,8 @@ class PaymentController:
# Immediately save the details against that token id:
success = await current_app.core_auth_token_controller.set_token(
db_conn = db_conn,
mongo_conn = mongo_conn,
sql_conn = db_conn,
mongo_data_conn = mongo_conn,
token_key = token_key,
auth_token = auth_token,
token_notes = {},