find org v2

This commit is contained in:
kittapath 2026-01-02 21:46:39 +07:00
parent 7e71f528ab
commit cb074e3e25
2 changed files with 4 additions and 3 deletions

View file

@ -574,6 +574,7 @@ namespace BMA.EHR.Application.Repositories
// endDate = endDate
date = endDate
};
Console.WriteLine(body);
var profiles = new List<SearchProfileDto>();
@ -585,7 +586,7 @@ namespace BMA.EHR.Application.Repositories
return raw.Result;
}
return null;
return new List<GetProfileByKeycloakIdRootDto>();
}
catch
{
@ -983,7 +984,7 @@ namespace BMA.EHR.Application.Repositories
{
try
{
var apiPath = $"{_configuration["API"]}/org/find/all";
var apiPath = $"{_configuration["API"]}/org/find/allv2";
var apiKey = _configuration["API_KEY"];
var body = new
{