diff --git a/src/controllers/OrganizationDotnetController.ts b/src/controllers/OrganizationDotnetController.ts index adabac98..4fc045c7 100644 --- a/src/controllers/OrganizationDotnetController.ts +++ b/src/controllers/OrganizationDotnetController.ts @@ -1694,11 +1694,11 @@ export class OrganizationDotnetController extends Controller { return new HttpSuccess(mapProfile); } /** - * 3. API Get Profile จาก keycloak id + * 3. API Get Profile จาก citizen Id * - * @summary 3. API Get Profile จาก keycloak id + * @summary 3. API Get Profile จาก citizen Id * - * @param {string} citizenId Id keycloak + * @param {string} citizenId citizen Id */ @Get("citizenId/{citizenId}") async GetProfileByCitizenIdAsync(@Path() citizenId: string) { diff --git a/src/controllers/ProfileEmployeeController.ts b/src/controllers/ProfileEmployeeController.ts index 0a87094c..a92844db 100644 --- a/src/controllers/ProfileEmployeeController.ts +++ b/src/controllers/ProfileEmployeeController.ts @@ -1630,7 +1630,7 @@ export class ProfileEmployeeController extends Controller { firstName: _data.firstName, lastName: _data.lastName, citizenId: _data.citizenId, - posLevel: _data.posLevel == null ? null : _data.posLevel.posLevelName, + posLevel: `${_data.posType.posTypeShortName?? ""} ${_data.posLevel.posLevelName ?? ""}`, posType: _data.posType == null ? null : _data.posType.posTypeName, posLevelId: _data.posLevel == null ? null : _data.posLevel.id, posTypeId: _data.posType == null ? null : _data.posType.id,