Skip to content

Commit

Permalink
Disable for get balance test mode
Browse files Browse the repository at this point in the history
  • Loading branch information
daaner committed Apr 17, 2023
1 parent 8535803 commit ed7d662
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/TurboSMS.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ public function getBalance(): ?int
$module = 'user';
$method = 'balance.json';

/** Для проверки баланса снимаем режим DEV */
$this->isTest = false;

$url = $this->baseUri.$module.'/'.$method;
$body = [];

Expand All @@ -60,6 +63,9 @@ public function getBalanceJson(): array
$module = 'user';
$method = 'balance.json';

/** Для проверки баланса снимаем режим DEV */
$this->isTest = false;

$url = $this->baseUri.$module.'/'.$method;
$body = [];

Expand Down

0 comments on commit ed7d662

Please sign in to comment.