diff --git a/src/modules/user/service/index.ts b/src/modules/user/service/index.ts index f813080..21cb7f3 100644 --- a/src/modules/user/service/index.ts +++ b/src/modules/user/service/index.ts @@ -32,7 +32,10 @@ export class UserService { static findUserByEmail = async (email: string): Promise => { const userRepository = dataSource.getRepository(User); - return userRepository.findOne({ where: { email } }); + return userRepository.findOne({ + where: { email }, + relations: { region: { parent: { parent: { parent: true } } } }, + }); }; static updateAdmin = async (