Skip to content

Commit

Permalink
npm lintfix
Browse files Browse the repository at this point in the history
  • Loading branch information
katelynpdn committed May 29, 2024
1 parent 768f712 commit 32f2f37
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions backend/src/routes/members.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
import express from "express";
import * as MembersController from "src/controllers/member";
import * as MembersValidator from "src/validators/member"
import * as MembersValidator from "src/validators/member";

const router = express.Router();

router.get("/get", MembersController.getAllMembers);
router.get("/:id", MembersController.getMember);
router.post("/post", MembersValidator.createMember, MembersController.createMember);
router.put(
"/:id", MembersController.updateMember,
);
router.put("/:id", MembersController.updateMember);
router.delete("/:id", MembersController.deleteMember);

export default router;

0 comments on commit 32f2f37

Please sign in to comment.