update: add new field for subscription of user when purchased

This commit is contained in:
mahyargdz
2025-02-28 12:08:46 +03:30
parent 93c5ad49d3
commit 76feef7645
29 changed files with 220 additions and 302 deletions
+1 -2
View File
@@ -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;
}