From 244b0d84691a90136f50b890e83029b4f8886bea Mon Sep 17 00:00:00 2001 From: Kittapath Date: Tue, 9 Jul 2024 00:04:51 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89env?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Services/PeriodExamService.cs | 4 ++-- appsettings.Development.json | 2 +- appsettings.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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