Fix env variable name for service account file to fix 'No access token' error

This commit is contained in:
Hamza-Ayed
2026-06-30 22:06:57 +03:00
parent d9dc124c3e
commit 116e3fad22

View File

@@ -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');
} }
// ── إرسال إشعار ──────────────────────────────────────── // ── إرسال إشعار ────────────────────────────────────────