Skip to content

Commit 7b30935

Browse files
authored
Edited the environment variable for cloud functions. (#374)
1 parent e59b75d commit 7b30935

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎functions/firestore-export/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ exports.scheduledFirestoreExport = functions.pubsub
1010
.schedule('every 24 hours')
1111
.onRun((context) => {
1212

13-
const projectId = process.env.GCP_PROJECT || process.env.GCLOUD_PROJECT;
13+
const projectId = process.env.GCP_PROJECT;
1414
const databaseName =
1515
client.databasePath(projectId, '(default)');
1616

0 commit comments

Comments
 (0)