This commit is contained in:
Muhammad Rayhan Ardiansyah
2026-03-17 14:40:51 +07:00
parent 648bdeb46c
commit 21f13601e4

View File

@ -604,7 +604,7 @@ export class PharmacyInfoController {
const param: { file_name: string } = await schema.validateAsync(req.body);
// const env = process.env.NODE_ENV + '/'
const fixedPath = 'uploads/pharmacy-logo/';
const fixedPath = 'uploads/pharmacy-info/';
const file_path = fixedPath + param.file_name;
// Check if file exists