Skip to content

Commit

Permalink
Minor tweak for enable_eft. (#1313)
Browse files Browse the repository at this point in the history
  • Loading branch information
seeker25 authored Oct 30, 2023
1 parent 5a08a71 commit 05a5b33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pay-api/src/pay_api/services/payment_account.py
Original file line number Diff line number Diff line change
Expand Up @@ -719,4 +719,4 @@ def enable_eft(cls, auth_account_id: str) -> PaymentAccount:
pay_account: PaymentAccountModel = PaymentAccountModel.find_by_auth_account_id(auth_account_id)
pay_account.eft_enable = True
pay_account.save()
return pay_account
return cls.find_by_id(pay_account.id)

0 comments on commit 05a5b33

Please sign in to comment.