Skip to content

Commit

Permalink
Update src/repository/storage/postgres/orm/sequelize/user.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Mikhail Popov <[email protected]>
  • Loading branch information
PahaKoha and GeekaN2 authored Oct 22, 2023
1 parent a4ef0b3 commit 1ef0db9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/repository/storage/postgres/orm/sequelize/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ export default class UserSequelizeStorage {
photo: user.photo,
};
}
public async getAllUsersById(): Promise<User[]> {
public async getAllUsers(): Promise<User[]> {
const userList = await this.model.findAll({ });

return userList;
Expand Down

0 comments on commit 1ef0db9

Please sign in to comment.