fix : Add วันลาใช้ไป เพิ่มเติมไปใน func หาวันที่มีการ approve
This commit is contained in:
parent
db483ce18d
commit
a7b8c2786c
3 changed files with 43 additions and 9 deletions
|
|
@ -182,11 +182,11 @@ namespace BMA.EHR.Application.Repositories
|
|||
}
|
||||
}
|
||||
|
||||
public async Task<GetProfileByKeycloakIdDto?> GetProfileByProfileIdAsync(Guid keycloakId, string? accessToken)
|
||||
public async Task<GetProfileByKeycloakIdDto?> GetProfileByProfileIdAsync(Guid profileId, string? accessToken)
|
||||
{
|
||||
try
|
||||
{
|
||||
var apiPath = $"{_configuration["API"]}/org/dotnet/profile/{keycloakId}";
|
||||
var apiPath = $"{_configuration["API"]}/org/dotnet/profile/{profileId}";
|
||||
var apiKey = _configuration["API_KEY"];
|
||||
|
||||
var apiResult = await GetExternalAPIAsync(apiPath, accessToken ?? "", apiKey);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue