Fix env variable name for service account file to fix 'No access token' error
This commit is contained in:
@@ -13,7 +13,7 @@ class FcmService
|
|||||||
{
|
{
|
||||||
$this->redis = $redis;
|
$this->redis = $redis;
|
||||||
// المسار بناء على بنية المشروع
|
// المسار بناء على بنية المشروع
|
||||||
$this->serviceAccountFile = getenv('FIREBASE_SERVICE_ACCOUNT_PATH');
|
$this->serviceAccountFile = getenv('SERVICE_ACCOUNT_FILE_PATH') ?: getenv('FIREBASE_SERVICE_ACCOUNT_PATH');
|
||||||
}
|
}
|
||||||
|
|
||||||
// ── إرسال إشعار ────────────────────────────────────────
|
// ── إرسال إشعار ────────────────────────────────────────
|
||||||
|
|||||||
Reference in New Issue
Block a user