Skip to content

Commit

Permalink
ChatController.ts: remove unused declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
allgood committed Nov 10, 2024
1 parent 053fdee commit e92adff
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions backend/src/controllers/ChatController.ts
Original file line number Diff line number Diff line change
@@ -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<Response> => {
const { pageNumber } = req.query as unknown as IndexQuery;
const ownerId = +req.user.id;

0 comments on commit e92adff

Please sign in to comment.