no message

This commit is contained in:
Bright 2024-09-13 13:47:02 +07:00
parent 83abbeedec
commit f6eeba56b6

View file

@ -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"],