no message

This commit is contained in:
Kittapath 2024-07-08 08:55:09 +07:00
parent ba9771f054
commit a6dbf393d8
3 changed files with 4 additions and 4 deletions

View file

@ -265,7 +265,7 @@ namespace BMA.EHR.Report.Service.Controllers
report = (Telerik.Reporting.Report)reportPackager.UnpackageDocument(sourceStream); report = (Telerik.Reporting.Report)reportPackager.UnpackageDocument(sourceStream);
} }
var CitizenId = ""; var CitizenId = "";
var apiUrl = $"{_configuration["API"]}org/profile/kp7-short/{id}"; var apiUrl = $"{_configuration["API"]}/org/profile/kp7-short/{id}";
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 ", ""));
@ -497,7 +497,7 @@ namespace BMA.EHR.Report.Service.Controllers
var CitizenId = ""; var CitizenId = "";
var FullName = ""; var FullName = "";
var OcFullPath = ""; var OcFullPath = "";
var apiUrl = $"{_configuration["API"]}org/profile/kk1/{id}"; var apiUrl = $"{_configuration["API"]}/org/profile/kk1/{id}";
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 ", ""));

View file

@ -33,5 +33,5 @@
"SecretKey": "LFnSRyk144oJERvump8UDxPcjjEyzgum", "SecretKey": "LFnSRyk144oJERvump8UDxPcjjEyzgum",
"BucketName": "bma-recruit" "BucketName": "bma-recruit"
}, },
"API": "https://bma-ehr.frappet.synology.me/api/v1/" "API": "https://bma-ehr.frappet.synology.me/api/v1"
} }

View file

@ -34,5 +34,5 @@
"SecretKey": "LFnSRyk144oJERvump8UDxPcjjEyzgum", "SecretKey": "LFnSRyk144oJERvump8UDxPcjjEyzgum",
"BucketName": "bma-recruit" "BucketName": "bma-recruit"
}, },
"API": "https://bma-ehr.frappet.synology.me/api/v1/" "API": "https://bma-ehr.frappet.synology.me/api/v1"
} }