Skip to content

Commit

Permalink
bug fix in namex-pay (#1583)
Browse files Browse the repository at this point in the history
  • Loading branch information
eve-git authored Oct 10, 2024
1 parent 2b54575 commit ff0ee14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion services/namex-pay/src/namex_pay/resources/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ def update_payment_record(payment: Payment) -> Optional[Payment]:
capture_message(msg)
raise Exception(f'Unknown action:{payment_action} for payment.id={payment.id}')

return payment

def reapply_payment(nr, payment):
if nr.stateCd != State.APPROVED \
Expand Down Expand Up @@ -325,4 +326,4 @@ def process_payment(ce: SimpleCloudEvent):
structured_log(request, message=msg)
capture_message(f'Queue Error: Missing id :{pay_msg}', level='error')

return
return
2 changes: 1 addition & 1 deletion services/namex-pay/src/namex_pay/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
Development release segment: .devN
"""

__version__ = '0.1.5' # pylint: disable=invalid-name
__version__ = '0.1.6' # pylint: disable=invalid-name

0 comments on commit ff0ee14

Please sign in to comment.