From a86452cdf57accfdc3f0b4f6b99ce1c8d61e8c5a Mon Sep 17 00:00:00 2001 From: Hamed Hosseini Date: Sat, 8 Jul 2023 13:54:20 +0330 Subject: [PATCH] fix: change wallet balance Toman to Rial --- src/Provider/AsanPardakhtProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Provider/AsanPardakhtProvider.php b/src/Provider/AsanPardakhtProvider.php index 4fceb86..87077f6 100644 --- a/src/Provider/AsanPardakhtProvider.php +++ b/src/Provider/AsanPardakhtProvider.php @@ -53,7 +53,7 @@ public function checkWalletBalance(): JsonResponse|array $credit = 0; if (property_exists($responseJson, 'wball')) { - $credit = $responseJson->wball / 10; // this API returns fucking RIAL!!! + $credit = $responseJson->wball; } return self::generalResponse(