update: add new field for subscription of user when purchased
This commit is contained in:
@@ -374,9 +374,8 @@ export class UsersService {
|
||||
|
||||
///****************************************************** */
|
||||
|
||||
async getUsersByIds(ids: string[]) {
|
||||
async findUsersByIds(ids: string[]) {
|
||||
const users = await this.userRepository.find({ where: { id: In(ids) } });
|
||||
if (!users) throw new BadRequestException(UserMessage.USER_NOT_FOUND);
|
||||
return users;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user