Skip to content

Commit

Permalink
fix: change wallet balance Toman to Rial
Browse files Browse the repository at this point in the history
  • Loading branch information
hamedmax73 committed Jul 8, 2023
1 parent 28b4c2c commit a86452c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Provider/AsanPardakhtProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit a86452c

Please sign in to comment.