This commit is contained in:
shafi54 2026-02-08 21:49:07 +05:30
parent 3487501d72
commit 37f5d48bbb
3 changed files with 1 additions and 1 deletions

View file

View file

@ -2,7 +2,7 @@ import admin from 'firebase-admin';
import path from 'path'; import path from 'path';
// Initialize Firebase Admin SDK // Initialize Firebase Admin SDK
const serviceAccountPath = path.join(process.cwd(), 'assets', 'fcm-v1-account.json'); const serviceAccountPath = path.join('.', 'creds', 'fcm-v1-account.json');
if (!admin.apps.length) { if (!admin.apps.length) {
admin.initializeApp({ admin.initializeApp({