From bd80518b5f15f1e8c49ed1b7b86c0af1a3ba7784 Mon Sep 17 00:00:00 2001 From: Mathis Date: Thu, 25 Apr 2024 14:44:24 +0200 Subject: [PATCH] refactor(controllers): remove unused import in category.controller Remove unused import `{IDbCategory}` from `category.controller.ts`. This reduces clutter and increases code clarity in the file. Issue: #12 Signed-off-by: Mathis --- src/controllers/category.controller.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/controllers/category.controller.ts b/src/controllers/category.controller.ts index 7de2b30..5a257e7 100644 --- a/src/controllers/category.controller.ts +++ b/src/controllers/category.controller.ts @@ -1,8 +1,7 @@ import type {Request, Response} from "express"; import {Logger} from "tslog"; -import type IDbCategory, {IDbCategory} from "@interfaces/database/IDbCategory"; +import type IDbCategory from "@interfaces/database/IDbCategory"; import CategoryService from "@services/category.service"; -import {body} from "express-validator"; //import {validationResult} from "express-validator";