แก้env

This commit is contained in:
Kittapath 2024-07-09 00:04:51 +07:00
parent b02f8bc2e6
commit 244b0d8469
3 changed files with 4 additions and 4 deletions

View file

@ -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 ", ""));