From cab5a90291c9cb99392db6e105a24e095222a2eb Mon Sep 17 00:00:00 2001 From: "Caogang (Marcelo) Shen" Date: Wed, 27 Mar 2024 20:58:50 -0700 Subject: [PATCH] Update UserRepository.ts See if this do --- repositories/UserRepository.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/repositories/UserRepository.ts b/repositories/UserRepository.ts index fc9586d6..d93ba6eb 100644 --- a/repositories/UserRepository.ts +++ b/repositories/UserRepository.ts @@ -50,7 +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 {