Skip to content

Commit

Permalink
Merge pull request #2 from hamedmax73/fix/fix-rial-for-wallet
Browse files Browse the repository at this point in the history
fix: change wallet balance Toman to Rial
  • Loading branch information
samuraee authored Jul 10, 2023
2 parents 28b4c2c + a86452c commit ed50f6d
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 ed50f6d

Please sign in to comment.