diff --git a/functions/firestore-export/index.js b/functions/firestore-export/index.js index cc4eb509..2c440162 100644 --- a/functions/firestore-export/index.js +++ b/functions/firestore-export/index.js @@ -10,7 +10,7 @@ exports.scheduledFirestoreExport = functions.pubsub .schedule('every 24 hours') .onRun((context) => { - const projectId = process.env.GCP_PROJECT || process.env.GCLOUD_PROJECT; + const projectId = process.env.GCP_PROJECT; const databaseName = client.databasePath(projectId, '(default)');