Skip to content

Commit

Permalink
Remove bug stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackIQ committed Apr 21, 2023
1 parent 1e397da commit 8694bc9
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 62 deletions.
23 changes: 0 additions & 23 deletions app/controllers/bug/bug.controllers.js

This file was deleted.

3 changes: 1 addition & 2 deletions app/controllers/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import * as Auth from "$app/controllers/auth/auth.controllers.js";
import * as User from "$app/controllers/user/user.controllers.js";
import * as Bug from "$app/controllers/bug/bug.controllers.js";

export { Auth, User, Bug };
export { Auth, User };
23 changes: 0 additions & 23 deletions app/models/bug/bug.model.js

This file was deleted.

3 changes: 1 addition & 2 deletions app/models/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import User from "$app/models/user/user.model.js";
import Bug from "$app/models/bug/bug.model.js";

export { User, Bug };
export { User };
10 changes: 0 additions & 10 deletions app/routes/bug/bug.routes.js

This file was deleted.

2 changes: 0 additions & 2 deletions app/routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@ import express from "express";

import User from "$app/routes/user/user.routes.js";
import Auth from "$app/routes/auth/auth.routes.js";
import Bug from "$app/routes/bug/bug.routes.js";

const router = express.Router();

import { jwt } from "$app/middlewares/index.js";

router.use("/users", jwt, User);
router.use("/bugs", Bug);
router.use("/auth", Auth);

export default router;

0 comments on commit 8694bc9

Please sign in to comment.