diff --git a/src/controllers/auth.ts b/src/controllers/auth.ts index 35e9fb1..d9afedb 100644 --- a/src/controllers/auth.ts +++ b/src/controllers/auth.ts @@ -47,7 +47,7 @@ export class AuthController { const userRefreshTokenRepository = OrmHelper.DB.getRepository(UserRefreshToken) const user = await userRepository.findOne({ - relations: ["roles", "roles.application", "employee", "employee.department", "employee.position"], + relations: ["roles", "roles.application", "employee", "employee.department", "employee.position","employee.airport"], select: ["id", "email", "name", "password", "username", "roles"], where: { username: param.username }, })