diff --git a/repositories/UserRepository.ts b/repositories/UserRepository.ts index d93ba6eb..52a0dfc1 100644 --- a/repositories/UserRepository.ts +++ b/repositories/UserRepository.ts @@ -50,8 +50,8 @@ export class UserRepository extends BaseRepository { .createQueryBuilder() .select(['email', 'UserModel.firstName', 'UserModel.lastName']) .getRawMany(); - return namesEmailsRaw.map((nameEmailRaw) => - `${nameEmailRaw.UserModel_firstName} ${nameEmailRaw.UserModel_lastName} (${nameEmailRaw.email})`); + return namesEmailsRaw.map((nameEmailRaw) => `${nameEmailRaw.UserModel_firstName} ` + + `${nameEmailRaw.UserModel_lastName} (${nameEmailRaw.email})`); } public static async generateHash(pass: string): Promise {