From f6eeba56b681a20afb553d930c5df0a4e933d40d Mon Sep 17 00:00:00 2001 From: Bright Date: Fri, 13 Sep 2024 13:47:02 +0700 Subject: [PATCH] no message --- src/controllers/ProfileController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/ProfileController.ts b/src/controllers/ProfileController.ts index 86dfde0f..21ad7ac0 100644 --- a/src/controllers/ProfileController.ts +++ b/src/controllers/ProfileController.ts @@ -3239,7 +3239,7 @@ export class ProfileController extends Controller { * @param id keycloak Id */ @Get("keycloak/commander/{id}") - async getProfileAndCommander(@Path() id: string) { + async getProfileAndCommander(@Request() request: RequestWithUser, @Path() id: string) { const profile = await this.profileRepo.findOne({ where: { keycloak: id }, relations: ["posLevel", "posType", "current_holders", "current_holders.orgRoot"],