diff --git a/Services/PeriodExamService.cs b/Services/PeriodExamService.cs index 0bb3926..dfa2128 100644 --- a/Services/PeriodExamService.cs +++ b/Services/PeriodExamService.cs @@ -2105,7 +2105,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services { var IsOfficer = false; dynamic org = null; - var apiUrl = $"{_configuration["API"]}org/profile/citizenid/position/{candidate.CitizenId}"; + var apiUrl = $"{_configuration["API"]}/org/profile/citizenid/position/{candidate.CitizenId}"; using (var client = new HttpClient()) { client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token.Replace("Bearer ", "")); @@ -2286,7 +2286,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services { var IsOfficer = false; dynamic org = null; - var apiUrl = $"{_configuration["API"]}org/profile/citizenid/position/{candidate.CitizenId}"; + var apiUrl = $"{_configuration["API"]}/org/profile/citizenid/position/{candidate.CitizenId}"; using (var client = new HttpClient()) { client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token.Replace("Bearer ", "")); diff --git a/appsettings.Development.json b/appsettings.Development.json index 952449d..96bf360 100644 --- a/appsettings.Development.json +++ b/appsettings.Development.json @@ -43,5 +43,5 @@ }, "Domain": "https://bma-ehr-exam.frappet.synology.me", "Protocol": "HTTPS", - "API": "https://bma-ehr.frappet.synology.me/api/v1/" + "API": "https://bma-ehr.frappet.synology.me/api/v1" } diff --git a/appsettings.json b/appsettings.json index 813af28..94b408a 100644 --- a/appsettings.json +++ b/appsettings.json @@ -42,5 +42,5 @@ "Port": "587" }, "Domain": "http://localhost:5173", - "API": "https://bma-ehr.frappet.synology.me/api/v1/" + "API": "https://bma-ehr.frappet.synology.me/api/v1" } \ No newline at end of file