From 186fa55bc51c59d280fecd13112db5b4e778819e Mon Sep 17 00:00:00 2001 From: Igor Suvorov Date: Thu, 30 May 2024 14:21:07 +0300 Subject: [PATCH] feat(decorators): add Data decorator --- libs/decorators/src/FindParams.decorator.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/decorators/src/FindParams.decorator.ts b/libs/decorators/src/FindParams.decorator.ts index 38a141e8e..da63a9108 100644 --- a/libs/decorators/src/FindParams.decorator.ts +++ b/libs/decorators/src/FindParams.decorator.ts @@ -1,8 +1,8 @@ -import { Err } from '@lsk4/err'; import { createParamDecorator, ExecutionContext } from '@nestjs/common'; import { Exclude, plainToInstance } from 'class-transformer'; import { IsBoolean, IsNumber, IsOptional, IsString, Max, Min, validate } from 'class-validator'; -import { validateAndThrow, validateErrorsAndThrow } from './utils/validateAndTrow'; + +import { validateErrorsAndThrow } from './utils/validateAndTrow'; export class Find { @IsOptional()