Spaces:
Running
Running
Update app.js
Browse files
app.js
CHANGED
|
@@ -13,7 +13,7 @@ try {
|
|
| 13 |
// The env secret MUST contain the full JSON string
|
| 14 |
// exactly like the serviceAccountKey.json contents
|
| 15 |
const serviceAccount = JSON.parse(process.env.FIREBASE_SERVICE_ACCOUNT_JSON);
|
| 16 |
-
|
| 17 |
|
| 18 |
if (serviceAccount && serviceAccount != null && serviceAccount != {}) {
|
| 19 |
admin.initializeApp({
|
|
|
|
| 13 |
// The env secret MUST contain the full JSON string
|
| 14 |
// exactly like the serviceAccountKey.json contents
|
| 15 |
const serviceAccount = JSON.parse(process.env.FIREBASE_SERVICE_ACCOUNT_JSON);
|
| 16 |
+
console.log(serviceAccount);
|
| 17 |
|
| 18 |
if (serviceAccount && serviceAccount != null && serviceAccount != {}) {
|
| 19 |
admin.initializeApp({
|