Set $from to use env variable + update ref link

This commit is contained in:
Aditya Oberai
2022-07-12 22:03:54 +05:30
committed by GitHub
parent f63c1c95fe
commit 313fd5582a
+1 -2
View File
@@ -5,7 +5,7 @@ namespace Appwrite\Auth\Phone;
use Appwrite\Auth\Phone;
// Reference Material
// https://dashboard.nexmo.com/getting-started/sms
// https://developer.vonage.com/api/sms
class Vonage extends Phone
{
@@ -23,7 +23,6 @@ class Vonage extends Phone
public function send(string $from, string $to, string $message): void
{
$to = ltrim($to, '+');
$from = "Appwrite";
$headers = ['Content-Type: application/x-www-form-urlencoded'];
$this->request(