From 313fd5582ae4c4fcba6a30f24e9a04d373a53aea Mon Sep 17 00:00:00 2001 From: Aditya Oberai <31401437+adityaoberai@users.noreply.github.com> Date: Tue, 12 Jul 2022 22:03:54 +0530 Subject: [PATCH] Set $from to use env variable + update ref link --- src/Appwrite/Auth/Phone/Vonage.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Appwrite/Auth/Phone/Vonage.php b/src/Appwrite/Auth/Phone/Vonage.php index bf95360b22..0a2c6dcbaa 100644 --- a/src/Appwrite/Auth/Phone/Vonage.php +++ b/src/Appwrite/Auth/Phone/Vonage.php @@ -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(