refactor(products): remove unused import from DTO file
This commit cleans up the `CreateProductDto` class by removing the unused import `optional` from the `zod` library. This helps in maintaining code cleanliness and potentially improving application performance.
This commit is contained in:
parent
38009bfbcb
commit
b8a472bfcd
@ -6,7 +6,6 @@ import {
|
||||
MaxLength, Min,
|
||||
MinLength
|
||||
} from "class-validator";
|
||||
import { optional } from "zod";
|
||||
|
||||
export class CreateProductDto {
|
||||
@MinLength(1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user