no message
This commit is contained in:
parent
83abbeedec
commit
f6eeba56b6
1 changed files with 1 additions and 1 deletions
|
|
@ -3239,7 +3239,7 @@ export class ProfileController extends Controller {
|
||||||
* @param id keycloak Id
|
* @param id keycloak Id
|
||||||
*/
|
*/
|
||||||
@Get("keycloak/commander/{id}")
|
@Get("keycloak/commander/{id}")
|
||||||
async getProfileAndCommander(@Path() id: string) {
|
async getProfileAndCommander(@Request() request: RequestWithUser, @Path() id: string) {
|
||||||
const profile = await this.profileRepo.findOne({
|
const profile = await this.profileRepo.findOne({
|
||||||
where: { keycloak: id },
|
where: { keycloak: id },
|
||||||
relations: ["posLevel", "posType", "current_holders", "current_holders.orgRoot"],
|
relations: ["posLevel", "posType", "current_holders", "current_holders.orgRoot"],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue