Skip to content

Commit

Permalink
Fix wrong template used
Browse files Browse the repository at this point in the history
  • Loading branch information
ochiu committed Oct 3, 2024
1 parent 3a695a4 commit f1d93e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jobs/payment-jobs/utils/mailer.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def publish_statement_notification(pay_account: PaymentAccountModel, statement:
def publish_payment_notification(info: StatementNotificationInfo) -> bool:
"""Publish payment notification message to the mailer queue."""
message_type = QueueMessageTypes.PAYMENT_DUE_NOTIFICATION.value \
if info.action == StatementNotificationAction.OVERDUE \
if info.action == StatementNotificationAction.DUE \
else QueueMessageTypes.PAYMENT_REMINDER_NOTIFICATION.value

payload = {
Expand Down

0 comments on commit f1d93e5

Please sign in to comment.