แก้env

This commit is contained in:
Kittapath 2024-07-09 00:05:17 +07:00
parent 9ebed7e92f
commit b481af7ef5
6 changed files with 6 additions and 9 deletions

View file

@ -212,7 +212,7 @@ namespace BMA.EHR.Recruit.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 ", ""));