Skip to content

Commit 8a2269b

Browse files
committed
Minor Fix ✅
1 parent 0738a15 commit 8a2269b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
Android SMS Gateway transforms your Android smartphone into an SMS gateway. It is a lightweight application that enables you to send SMS messages programmatically via an API, making it ideal for integrating SMS functionality into your applications or services.
77

8-
- [https://packagist.org/packages/rootscratch/psgc](https://packagist.org/packages/rootscratch/psgc)
8+
- [https://packagist.org/packages/rootscratch/sms](https://packagist.org/packages/rootscratch/sms)
99
- [https://sms.rootscratch.com/](https://sms.rootscratch.com/)
1010

1111
## 🚀 Installation

src/Configuration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function getDevices()
3131
$postData = [
3232
'key' => self::$API_KEY
3333
];
34-
return $this->sendRequest($url, $postData)["devices"];
34+
return $this->sendRequest($url, $postData);
3535
}
3636

3737

@@ -41,7 +41,7 @@ public function getBalance()
4141
$postData = [
4242
'key' => self::$API_KEY
4343
];
44-
$credits = $this->sendRequest($url, $postData)["credits"];
44+
$credits = $this->sendRequest($url, $postData);
4545
return $credits === null ? ['credits' => "Unlimited"] : ['credits' => $credits];
4646
}
4747

0 commit comments

Comments
 (0)