Skip to content

Commit

Permalink
Merge pull request #630 from episphere/dev
Browse files Browse the repository at this point in the history
Environment Variable Reference
  • Loading branch information
anthonypetersen authored Jul 29, 2024
2 parents 0cf4813 + 346245d commit 5568847
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/heartbeat.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const heartbeat = async (req, res) => {
const minutes = currentTime.getUTCMinutes().toString().padStart(2, '0');
const seconds = currentTime.getUTCSeconds().toString().padStart(2, '0');

const query = `SELECT * FROM \`nih-nci-dceg-connect-dev.heartbeat.recruitment_summary\``;
const query = `SELECT * FROM \`${process.env.GCLOUD_PROJECT}.heartbeat.recruitment_summary\``;
const [rows] = await bigquery.query(query);

const payload = {
Expand Down

0 comments on commit 5568847

Please sign in to comment.