fix api Error
This commit is contained in:
parent
a1f866bcbe
commit
a2615c7b52
3 changed files with 4 additions and 3 deletions
|
|
@ -5804,7 +5804,8 @@ namespace BMA.EHR.Application.Repositories
|
|||
Id = h.Id,
|
||||
CitizenId = h.Profile.CitizenId,
|
||||
ProfileId = h.Profile.Id,
|
||||
ProfileType = h.Profile.ProfileType,
|
||||
ProfileType = "officer",
|
||||
//ProfileType = h.Profile.ProfileType,
|
||||
FullName = $"{h.Profile.Prefix}{h.Profile.FirstName} {h.Profile.LastName}",
|
||||
Position = h.Profile.Position,
|
||||
PosNo = h.Profile.ProfileSalary == null || h.Profile.ProfileSalary.Count == 0 ? "" :
|
||||
|
|
|
|||
|
|
@ -450,7 +450,7 @@ namespace BMA.EHR.Application.Repositories
|
|||
{
|
||||
try
|
||||
{
|
||||
var apiPath = $"{_configuration["API"]}/org/dotnet/profile/{id}";
|
||||
var apiPath = $"{_configuration["API"]}/org/profile/{id}";
|
||||
|
||||
var apiResult = GetExternalAPIAsync(apiPath, accessToken ?? "");
|
||||
if (apiResult.Result != null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue