update api key
Some checks failed
release-dev / release-dev (push) Failing after 12s

This commit is contained in:
kittapath 2025-11-12 01:56:06 +07:00
parent b478b9eded
commit b4cc522fef
32 changed files with 413 additions and 412 deletions

View file

@ -1018,7 +1018,7 @@ namespace BMA.EHR.Application.Repositories.Reports
r.Request.OrganizationId
})
.Select(group => new
{
{
InsigniaInitial = group.Key.ShortName,
InsigniaName = group.Key.Name,
ProfileId = group.Key.ProfileId,
@ -1236,7 +1236,7 @@ namespace BMA.EHR.Application.Repositories.Reports
var _apiUrl = $"{_baseAPI}/org/unauthorize/calculateEvaluation/{type}";
using (var _client = new HttpClient())
{
_client.DefaultRequestHeaders.Add("api_key", _configuration["API_KEY"]);
_client.DefaultRequestHeaders.Add("api-key", _configuration["API_KEY"]);
var _req = new HttpRequestMessage(HttpMethod.Get, _apiUrl);
var _res = await _client.SendAsync(_req);
var _result = await _res.Content.ReadAsStringAsync();