Skip to content

Commit 1d63a19

Browse files
minor fix for refunded_payment (#141)
1 parent fa38483 commit 1d63a19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyrogram/types/business/refunded_payment.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ def _parse(
8080
provider_payment_charge_id = refunded_payment.charge.provider_charge_id
8181

8282
return RefundedPayment(
83-
currency=successful_payment.currency,
84-
total_amount=successful_payment.total_amount,
83+
currency=refunded_payment.currency,
84+
total_amount=refunded_payment.total_amount,
8585
invoice_payload=invoice_payload,
8686
telegram_payment_charge_id=telegram_payment_charge_id,
8787
provider_payment_charge_id=shipping_option_id

0 commit comments

Comments
 (0)