fixing
This commit is contained in:
@ -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('.');
|
||||
|
||||
Reference in New Issue
Block a user