mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix: dsn condition
This commit is contained in:
@@ -34,8 +34,8 @@ class Messaging extends Action
|
||||
public function __construct()
|
||||
{
|
||||
$provider = App::getEnv('_APP_SMS_PROVIDER', '');
|
||||
if (!empty($this->provider)) {
|
||||
$this->provider = new DSN($provider);
|
||||
if (!empty($provider)) {
|
||||
$this->dsn = new DSN($provider);
|
||||
}
|
||||
|
||||
$geoProviders = App::getEnv('_APP_GEOSMS_PROVIDERS', '');
|
||||
|
||||
Reference in New Issue
Block a user