add: parser upload product
This commit is contained in:
		| @@ -1,4 +1,10 @@ | ||||
| import { forwardRef, HttpException, HttpStatus, Inject, Injectable } from '@nestjs/common'; | ||||
| import { | ||||
|   forwardRef, | ||||
|   HttpException, | ||||
|   HttpStatus, | ||||
|   Inject, | ||||
|   Injectable, | ||||
| } from '@nestjs/common'; | ||||
| import { CreateUserDto } from './dto/create-user.dto'; | ||||
| import { UpdateUserDto } from './dto/update-user.dto'; | ||||
| import { Connection, EntityNotFoundError, Not, Repository } from 'typeorm'; | ||||
| @@ -383,6 +389,7 @@ export class UsersService { | ||||
|     return this.usersRepository.findOneOrFail({ | ||||
|       where: { | ||||
|         username, | ||||
|         isActive: true, | ||||
|       }, | ||||
|       relations: ['roles', 'partner'], | ||||
|     }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user