From ed7d6629fde11d081185f3ebe53edb4970371d55 Mon Sep 17 00:00:00 2001 From: Daan Date: Mon, 17 Apr 2023 18:41:50 +0300 Subject: [PATCH] Disable for get balance test mode --- src/TurboSMS.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/TurboSMS.php b/src/TurboSMS.php index 82a7d53..a5ae850 100644 --- a/src/TurboSMS.php +++ b/src/TurboSMS.php @@ -40,6 +40,9 @@ public function getBalance(): ?int $module = 'user'; $method = 'balance.json'; + /** Для проверки баланса снимаем режим DEV */ + $this->isTest = false; + $url = $this->baseUri.$module.'/'.$method; $body = []; @@ -60,6 +63,9 @@ public function getBalanceJson(): array $module = 'user'; $method = 'balance.json'; + /** Для проверки баланса снимаем режим DEV */ + $this->isTest = false; + $url = $this->baseUri.$module.'/'.$method; $body = [];