Skip to content

Commit ed50f6d

Browse files
authored
Merge pull request #2 from hamedmax73/fix/fix-rial-for-wallet
fix: change wallet balance Toman to Rial
2 parents 28b4c2c + a86452c commit ed50f6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Provider/AsanPardakhtProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function checkWalletBalance(): JsonResponse|array
5353
$credit = 0;
5454

5555
if (property_exists($responseJson, 'wball')) {
56-
$credit = $responseJson->wball / 10; // this API returns fucking RIAL!!!
56+
$credit = $responseJson->wball;
5757
}
5858

5959
return self::generalResponse(

0 commit comments

Comments
 (0)