update
This commit is contained in:
@ -11,9 +11,9 @@ import moment from "moment";
|
|||||||
import dayjs from 'dayjs';
|
import dayjs from 'dayjs';
|
||||||
import fileUpload from "express-fileupload";
|
import fileUpload from "express-fileupload";
|
||||||
import { v4 as uuidv4 } from 'uuid';
|
import { v4 as uuidv4 } from 'uuid';
|
||||||
import config from "config";
|
|
||||||
import fs from "fs";
|
import fs from "fs";
|
||||||
import path from "path";
|
import path from "path";
|
||||||
|
import config from '../../config/stag.json';
|
||||||
|
|
||||||
const log: Logger<ILogObj> = new Logger({
|
const log: Logger<ILogObj> = new Logger({
|
||||||
name: "[HospitalInformationController]",
|
name: "[HospitalInformationController]",
|
||||||
@ -50,7 +50,7 @@ export class HospitalInformationController {
|
|||||||
|
|
||||||
let hospitallogo = '';
|
let hospitallogo = '';
|
||||||
if (hospital.logo != null && hospital.logo != undefined && hospital.logo != '') {
|
if (hospital.logo != null && hospital.logo != undefined && hospital.logo != '') {
|
||||||
hospitallogo = 'https://his.shiblysolution.id/service-master-data/uploads/hospital-logo/' + hospital.logo;
|
hospitallogo = `${config.server.host_swagger}uploads/hospital-logo/${hospital.logo}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
const result = {
|
const result = {
|
||||||
|
|||||||
Reference in New Issue
Block a user