This commit is contained in:
Hamza-Ayed
2026-04-28 15:14:59 +03:00
parent 3fa9aee14e
commit 06cbf1e19d
2 changed files with 24 additions and 10 deletions

View File

@@ -13,7 +13,7 @@ class FcmService
{
$this->redis = $redis;
// المسار بناء على بنية المشروع
$this->serviceAccountFile = __DIR__ . '/../../service-account.json';
$this->serviceAccountFile = getenv('FIREBASE_SERVICE_ACCOUNT_PATH');
}
// ── إرسال إشعار ────────────────────────────────────────