From e92adff34536c09a936bc0515b02db1608660ea6 Mon Sep 17 00:00:00 2001 From: Claudemir Todo Bom Date: Sun, 10 Nov 2024 11:36:15 -0300 Subject: [PATCH] ChatController.ts: remove unused declarations --- backend/src/controllers/ChatController.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/backend/src/controllers/ChatController.ts b/backend/src/controllers/ChatController.ts index 3cc5ed8..d97e103 100644 --- a/backend/src/controllers/ChatController.ts +++ b/backend/src/controllers/ChatController.ts @@ -1,4 +1,3 @@ -import * as Yup from "yup"; import { Request, Response } from "express"; import { getIO } from "../libs/socket"; @@ -25,11 +24,6 @@ type StoreData = { title: string; }; -type FindParams = { - companyId: number; - ownerId?: number; -}; - export const index = async (req: Request, res: Response): Promise => { const { pageNumber } = req.query as unknown as IndexQuery; const ownerId = +req.user.id;