bucket_name_change:GWM
This commit is contained in:
parent
77d4d7e445
commit
f5ccba98f4
@ -601,7 +601,7 @@ exports.SectionList = async (req, res) =>
|
||||
{
|
||||
ImageData = [];
|
||||
const storage = new Storage({ keyFilename : path.join(__dirname, "../../googleCloud.json") });
|
||||
const bucketName = 'sales-pd';
|
||||
const bucketName = process.env.GCP_BUCKET_NAME;
|
||||
for(const PhotographsValue of data[0].dataValues.Photographs)
|
||||
{
|
||||
const fileName = 'pd'+PhotographsValue.ref_no+'/images/'+PhotographsValue.img;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user