fixing
This commit is contained in:
@ -604,7 +604,7 @@ export class PharmacyInfoController {
|
|||||||
const param: { file_name: string } = await schema.validateAsync(req.body);
|
const param: { file_name: string } = await schema.validateAsync(req.body);
|
||||||
|
|
||||||
// const env = process.env.NODE_ENV + '/'
|
// const env = process.env.NODE_ENV + '/'
|
||||||
const fixedPath = 'uploads/pharmacy-logo/';
|
const fixedPath = 'uploads/pharmacy-info/';
|
||||||
const file_path = fixedPath + param.file_name;
|
const file_path = fixedPath + param.file_name;
|
||||||
|
|
||||||
// Check if file exists
|
// Check if file exists
|
||||||
|
|||||||
Reference in New Issue
Block a user