style: fix linting issues met ESLint
This commit is contained in:
parent
b5390258e3
commit
e78849f568
21 changed files with 64 additions and 116 deletions
|
@ -16,9 +16,7 @@ export class UserService<T extends User> {
|
|||
|
||||
async getAllUserIds(): Promise<string[]> {
|
||||
const users = await this.getAllUsers();
|
||||
return users.map((user) => {
|
||||
return user.username;
|
||||
});
|
||||
return users.map((user) => user.username);
|
||||
}
|
||||
|
||||
async getUserByUsername(username: string): Promise<UserDTO | null> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue