Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
pcrespov committed Feb 26, 2024
1 parent 50a3bb1 commit 7c974a8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
from ..models.schemas.acknowledgements import AckPayment, AckPaymentWithPaymentMethod
from ..services.resource_usage_tracker import ResourceUsageTrackerApi
from .notifier import NotifierService
from .notifier_ws import WebSocketProvider
from .payments_gateway import PaymentsGatewayApi

_logger = logging.getLogger()
Expand Down Expand Up @@ -259,7 +260,7 @@ async def pay_with_payment_method( # noqa: PLR0913

# NOTE: notifications here are done as background-task after responding `POST /wallets/{wallet_id}/payments-methods/{payment_method_id}:pay`
await on_payment_completed(
transaction, rut, notifier=notifier, exclude={"WebSocketProvider"}
transaction, rut, notifier=notifier, exclude={WebSocketProvider.get_name()}
)

return to_payments_api_model(transaction)
Expand Down

0 comments on commit 7c974a8

Please sign in to comment.