Fix API path in UserProfileRepository to remove redundant versioning
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m45s

This commit is contained in:
Suphonchai Phoonsawat 2026-02-19 10:11:39 +07:00
parent ddaa339e9f
commit c42aaa38f6

View file

@ -346,7 +346,7 @@ namespace BMA.EHR.Application.Repositories
{
try
{
var apiPath = $"{_configuration["API"]}/api/v1/org/unauthorize/profile/{profileId}";
var apiPath = $"{_configuration["API"]}/org/unauthorize/profile/{profileId}";
var apiKey = _configuration["API_KEY"];
var apiResult = await GetExternalAPIAsync(apiPath, accessToken ?? "", apiKey);