From b8a472bfcd9a3ec721c1b32d5014f50afe85c87b Mon Sep 17 00:00:00 2001 From: Mathis Date: Wed, 24 Jul 2024 20:26:37 +0200 Subject: [PATCH] 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. --- src/products/products.dto.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/products/products.dto.ts b/src/products/products.dto.ts index 10b26e2..7c724ec 100644 --- a/src/products/products.dto.ts +++ b/src/products/products.dto.ts @@ -6,7 +6,6 @@ import { MaxLength, Min, MinLength } from "class-validator"; -import { optional } from "zod"; export class CreateProductDto { @MinLength(1)