Update bqexport.js to use environment variable for GCS credentials instead of an empty object.
This commit is contained in:
parent
4f12397489
commit
bd868852df
|
|
@ -9,7 +9,7 @@ const bigquery = new BigQuery({
|
|||
});
|
||||
const storage = new Storage({
|
||||
projectId: process.env.PROJECT_ID || 'fynd-jio-commerceml-prod',
|
||||
credentials: {}
|
||||
credentials: process.env.GCS_CREDENTIALS || {}
|
||||
});
|
||||
|
||||
export const exportMergedJson = async (req, res) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user