fix avatar path
This commit is contained in:
parent
90f754c0bd
commit
fbf14f948b
2 changed files with 4 additions and 4 deletions
|
|
@ -249,7 +249,7 @@ export class ProfileController extends Controller {
|
|||
: "-",
|
||||
PositionName: profile.position != null ? profile.position : "-",
|
||||
OcFullPath: `${_child4}${_child3}${_child2}${_child1}${_root}`,
|
||||
ImgUrl: ImgUrl ? ImgUrl : `${process.env.API_URL}/assets/avatar_user-89f22423.jpg`
|
||||
ImgUrl: ImgUrl ? ImgUrl : `https://bma-ehr.frappet.synology.me/assets/avatar_user-89f22423.jpg`
|
||||
};
|
||||
|
||||
return new HttpSuccess(mapData);
|
||||
|
|
@ -450,7 +450,7 @@ export class ProfileController extends Controller {
|
|||
? Extension.ToThaiNumber(profiles.currentProvince.name)
|
||||
: "",
|
||||
// AvatarId: profiles?.avatar ?? null,
|
||||
ImgUrl: ImgUrl ? ImgUrl : `${process.env.API_URL}/assets/avatar_user-89f22423.jpg`
|
||||
ImgUrl: ImgUrl ? ImgUrl : `https://bma-ehr.frappet.synology.me/assets/avatar_user-89f22423.jpg`
|
||||
};
|
||||
|
||||
const certs = await this.certificateRepository.find({
|
||||
|
|
|
|||
|
|
@ -255,7 +255,7 @@ export class ProfileEmployeeController extends Controller {
|
|||
: "-",
|
||||
PositionName: profile.position != null ? profile.position : "-",
|
||||
OcFullPath: `${_child4}${_child3}${_child2}${_child1}${_root}`,
|
||||
ImgUrl: ImgUrl ? ImgUrl : `${process.env.API_URL}/assets/avatar_user-89f22423.jpg`
|
||||
ImgUrl: ImgUrl ? ImgUrl : `https://bma-ehr.frappet.synology.me/assets/avatar_user-89f22423.jpg`
|
||||
};
|
||||
|
||||
return new HttpSuccess(mapData);
|
||||
|
|
@ -459,7 +459,7 @@ export class ProfileEmployeeController extends Controller {
|
|||
? Extension.ToThaiNumber(profiles.currentProvince.name)
|
||||
: "",
|
||||
// AvatarId: profiles?.avatar ?? null,
|
||||
ImgUrl: ImgUrl ? ImgUrl : `${process.env.API_URL}/assets/avatar_user-89f22423.jpg`
|
||||
ImgUrl: ImgUrl ? ImgUrl : `https://bma-ehr.frappet.synology.me/assets/avatar_user-89f22423.jpg`
|
||||
};
|
||||
|
||||
const certs = await this.certificateRepository.find({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue