Skip to content

Commit

Permalink
added get table route
Browse files Browse the repository at this point in the history
Signed-off-by: Tanmay Vaij <tanmayvaij22@gmail.com>
  • Loading branch information
tanmayvaij committed Jan 1, 2025
1 parent 9b9fed6 commit 1f438cd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/controllers/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export * from "./getTables.controller";
export * from "./createTable.controller";
export * from "./deleteTable.controller";

Expand Down
7 changes: 5 additions & 2 deletions src/routers/admin.routes.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import { Router } from "express";

import { createTableController, deleteTableController } from "../controllers";
import { getAllTablesController } from "../controllers/getTables.controller";
import {
createTableController,
deleteTableController,
getAllTablesController,
} from "../controllers";

export const adminRouter = Router();

Expand Down

0 comments on commit 1f438cd

Please sign in to comment.