diff --git a/src/controllers/ProfileController.ts b/src/controllers/ProfileController.ts index b8198cdb..feb9736e 100644 --- a/src/controllers/ProfileController.ts +++ b/src/controllers/ProfileController.ts @@ -4531,12 +4531,13 @@ export class ProfileController extends Controller { posMasterId: posMaster?.id, }, }); - + const _profile: any = { profileId: profile.id, prefix: profile.prefix, rank: profile.rank, avatar: profile.avatar, + isDirector: profile.current_holders[0]?.isDirector ?? null, isProbation: profile.isProbation, avatarName: profile.avatarName, firstName: profile.firstName, @@ -4678,6 +4679,7 @@ export class ProfileController extends Controller { prefix: profile.prefix, rank: profile.rank, avatar: profile.avatar, + isDirector: profile.current_holders[0].isDirector ?? null, isProbation: profile.isProbation, avatarName: profile.avatarName, firstName: profile.firstName,