Skip to content

Commit

Permalink
Fixed linter issues except for one
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanDing26 committed Mar 25, 2024
1 parent cfe34e3 commit b524e8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions repositories/UserRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ export class UserRepository extends BaseRepository<UserModel> {
.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<string> {
Expand Down
2 changes: 1 addition & 1 deletion services/UserAccountService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
Milestone,
UserPatches,
UserState,
PrivateProfile
PrivateProfile,
} from '../types';
import { UserRepository } from '../repositories/UserRepository';
import { UserModel } from '../models/UserModel';
Expand Down

0 comments on commit b524e8c

Please sign in to comment.