From 1ef0db93894f357cb3b4e3b8b7586f13e34a90f6 Mon Sep 17 00:00:00 2001 From: PahaKoha <117469696+PahaKoha@users.noreply.github.com> Date: Sun, 22 Oct 2023 12:25:33 +0300 Subject: [PATCH] Update src/repository/storage/postgres/orm/sequelize/user.ts Co-authored-by: Mikhail Popov --- src/repository/storage/postgres/orm/sequelize/user.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/repository/storage/postgres/orm/sequelize/user.ts b/src/repository/storage/postgres/orm/sequelize/user.ts index 0f418cfa..b4349e11 100644 --- a/src/repository/storage/postgres/orm/sequelize/user.ts +++ b/src/repository/storage/postgres/orm/sequelize/user.ts @@ -281,7 +281,7 @@ export default class UserSequelizeStorage { photo: user.photo, }; } - public async getAllUsersById(): Promise { + public async getAllUsers(): Promise { const userList = await this.model.findAll({ }); return userList;