Commit 0e6ef18 1 parent a509d21 commit 0e6ef18 Copy full SHA for 0e6ef18
File tree 1 file changed +3
-3
lines changed
pay-api/src/pay_api/utils
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ def publish_lock_account_event(params: LockAccountDetails):
44
44
}
45
45
gcp_queue_publisher .publish_to_queue (
46
46
QueueMessage (
47
- source = source ,
47
+ source = params . source ,
48
48
message_type = QueueMessageTypes .NSF_LOCK_ACCOUNT .value ,
49
49
payload = lock_payload ,
50
50
topic = current_app .config .get ("AUTH_EVENT_TOPIC" ),
@@ -54,11 +54,11 @@ def publish_lock_account_event(params: LockAccountDetails):
54
54
current_app .logger .error ("Error publishing lock event:" , exc_info = True )
55
55
current_app .logger .warning (
56
56
f"Notification to Queue failed for the Account {
57
- pay_account .auth_account_id } - { pay_account .name } "
57
+ params . pay_account .auth_account_id } - { params . pay_account .name } "
58
58
)
59
59
capture_message (
60
60
f"Notification to Queue failed for the Account {
61
- pay_account .auth_account_id } , { lock_payload } ." ,
61
+ params . pay_account .auth_account_id } , { lock_payload } ." ,
62
62
level = "error" ,
63
63
)
64
64
You can’t perform that action at this time.
0 commit comments