This commit is contained in:
Muhammad Rayhan Ardiansyah
2026-03-17 14:39:18 +07:00
parent a0f7c989ab
commit 648bdeb46c

View File

@ -492,7 +492,7 @@ export class PharmacyInfoController {
path: {
type: "string",
description: 'File path',
default: 'uploads/hospital-logo'
default: 'uploads/pharmacy-info'
},
application: {
type: "string",
@ -539,7 +539,7 @@ export class PharmacyInfoController {
// Normalize path
param.path = param.path[param.path.length - 1] !== '/' ? param.path + '/' : param.path;
if (param.path == undefined || param.path == null) param.path = 'uploads/pharmacy-logo/';
if (param.path == undefined || param.path == null) param.path = 'uploads/pharmacy-info/';
// Generate unique filename
const ext = file.name.split('.');