Comment out profile retrieval in LeaveRequestController to prevent unnecessary calls #2250
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m29s

This commit is contained in:
Suphonchai Phoonsawat 2026-01-27 17:05:07 +07:00
parent e8ffb82ead
commit cbc2a1a88d

View file

@ -1919,7 +1919,7 @@ namespace BMA.EHR.Leave.Service.Controllers
foreach (var item in rawData)
{
var profile = await _userProfileRepository.GetProfileByKeycloakIdNewAsync(item.KeycloakUserId, AccessToken);
//var profile = await _userProfileRepository.GetProfileByKeycloakIdNewAsync(item.KeycloakUserId, AccessToken);
var res = new GetLeaveCancelRequestResultDto
{
Id = item.Id,