1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-26 20:54:42 +01:00

fix little bug

This commit is contained in:
Mahdi 2024-11-19 14:12:29 +03:30
parent dfad12f6fe
commit 83c36563f4

View File

@ -51,7 +51,7 @@ class Payment extends Update
$rawRequestedPayment['email'], $rawRequestedPayment['email'],
) : null; ) : null;
$this->shippingOptionId = $rawRequestedPayment['shipping_option_id'] ?? null; $this->shippingOptionId = $rawRequestedPayment['shipping_option_id'] ?? null;
$this->currency = $rawRequestedPayment['$currency']; $this->currency = $rawRequestedPayment['currency'];
$this->totalAmount = $rawRequestedPayment['total_amount']; $this->totalAmount = $rawRequestedPayment['total_amount'];
} }