remove log success
This commit is contained in:
parent
20c6c412b8
commit
185aedc53f
1 changed files with 8 additions and 8 deletions
|
|
@ -2372,7 +2372,7 @@ export class OrganizationDotnetController extends Controller {
|
||||||
@Security("internalAuth")
|
@Security("internalAuth")
|
||||||
async GetProfileForProcessCheckInAsync(@Path() keycloakId: string) {
|
async GetProfileForProcessCheckInAsync(@Path() keycloakId: string) {
|
||||||
try {
|
try {
|
||||||
console.log(`[check-keycloak] START - keycloakId=${keycloakId}`);
|
// console.log(`[check-keycloak] START - keycloakId=${keycloakId}`);
|
||||||
|
|
||||||
/* =========================
|
/* =========================
|
||||||
* 1. Load profile (Officer)
|
* 1. Load profile (Officer)
|
||||||
|
|
@ -2447,14 +2447,14 @@ export class OrganizationDotnetController extends Controller {
|
||||||
child4DnaId: currentHolder?.orgChild4?.ancestorDNA ?? null,
|
child4DnaId: currentHolder?.orgChild4?.ancestorDNA ?? null,
|
||||||
};
|
};
|
||||||
|
|
||||||
console.log(
|
// console.log(
|
||||||
`[check-keycloak] SUCCESS_EMPLOYEE - keycloakId=${keycloakId}, profileType=EMPLOYEE`,
|
// `[check-keycloak] SUCCESS_EMPLOYEE - keycloakId=${keycloakId}, profileType=EMPLOYEE`,
|
||||||
);
|
// );
|
||||||
|
|
||||||
return new HttpSuccess(mapProfile);
|
return new HttpSuccess(mapProfile);
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(`[check-keycloak] OFFICER_FOUND - keycloakId=${keycloakId}`);
|
// console.log(`[check-keycloak] OFFICER_FOUND - keycloakId=${keycloakId}`);
|
||||||
|
|
||||||
/* =========================================
|
/* =========================================
|
||||||
* 2. current holder (Officer)
|
* 2. current holder (Officer)
|
||||||
|
|
@ -2494,9 +2494,9 @@ export class OrganizationDotnetController extends Controller {
|
||||||
child4DnaId: currentHolder?.orgChild4?.ancestorDNA ?? null,
|
child4DnaId: currentHolder?.orgChild4?.ancestorDNA ?? null,
|
||||||
};
|
};
|
||||||
|
|
||||||
console.log(
|
// console.log(
|
||||||
`[check-keycloak] SUCCESS_OFFICER - keycloakId=${keycloakId}, profileType=OFFICER`,
|
// `[check-keycloak] SUCCESS_OFFICER - keycloakId=${keycloakId}, profileType=OFFICER`,
|
||||||
);
|
// );
|
||||||
|
|
||||||
return new HttpSuccess(mapProfile);
|
return new HttpSuccess(mapProfile);
|
||||||
} catch (error: any) {
|
} catch (error: any) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue