แก้env
This commit is contained in:
parent
b02f8bc2e6
commit
244b0d8469
3 changed files with 4 additions and 4 deletions
|
|
@ -2105,7 +2105,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
||||||
{
|
{
|
||||||
var IsOfficer = false;
|
var IsOfficer = false;
|
||||||
dynamic org = null;
|
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())
|
using (var client = new HttpClient())
|
||||||
{
|
{
|
||||||
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token.Replace("Bearer ", ""));
|
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token.Replace("Bearer ", ""));
|
||||||
|
|
@ -2286,7 +2286,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
||||||
{
|
{
|
||||||
var IsOfficer = false;
|
var IsOfficer = false;
|
||||||
dynamic org = null;
|
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())
|
using (var client = new HttpClient())
|
||||||
{
|
{
|
||||||
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token.Replace("Bearer ", ""));
|
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token.Replace("Bearer ", ""));
|
||||||
|
|
|
||||||
|
|
@ -43,5 +43,5 @@
|
||||||
},
|
},
|
||||||
"Domain": "https://bma-ehr-exam.frappet.synology.me",
|
"Domain": "https://bma-ehr-exam.frappet.synology.me",
|
||||||
"Protocol": "HTTPS",
|
"Protocol": "HTTPS",
|
||||||
"API": "https://bma-ehr.frappet.synology.me/api/v1/"
|
"API": "https://bma-ehr.frappet.synology.me/api/v1"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -42,5 +42,5 @@
|
||||||
"Port": "587"
|
"Port": "587"
|
||||||
},
|
},
|
||||||
"Domain": "http://localhost:5173",
|
"Domain": "http://localhost:5173",
|
||||||
"API": "https://bma-ehr.frappet.synology.me/api/v1/"
|
"API": "https://bma-ehr.frappet.synology.me/api/v1"
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue