Skip to content

Commit

Permalink
Merge pull request #671 from HDRUK/bug/GAT-774
Browse files Browse the repository at this point in the history
Remove the google storage bucket name into a env variable - GAT-774
  • Loading branch information
pawilliams-hdr authored Feb 24, 2022
2 parents 638a7e3 + 923ee04 commit ea47ab4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resources/utilities/wordTemplateBuilder.util.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const _getTemplate = async templateName => {
destination: __dirname + '/template.docx',
};
// get file from google bucket
resolve(storage.bucket('hdruk-gateway_www-outbound-dar-templates').file(templateName).download(options));
resolve(storage.bucket(process.env.GOOGLE_WORD_OUTBOUND_STORAGE_BUCKET).file(templateName).download(options));
});
};

Expand Down

0 comments on commit ea47ab4

Please sign in to comment.