Skip to content

Commit

Permalink
#9 | @Payne680 | Correcting the route name
Browse files Browse the repository at this point in the history
  • Loading branch information
Payne680 committed Aug 11, 2024
1 parent 78b84e1 commit fbaf2e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api/v1/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ routerV1.get("/", (_, res) => {

routerV1.use("/auth", authRouter);
routerV1.use("/languages", languageRouter);
routerV1.use("/match/publish", matchRouter);
routerV1.use("/match", matchRouter);

export default routerV1;
2 changes: 1 addition & 1 deletion src/api/v1/routes/match-router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ const router = Router();

const matchController = new MatchController();

router.post("/", matchController.processMatch);
router.post("/publish", matchController.processMatch);

export const matchRouter = router;

0 comments on commit fbaf2e1

Please sign in to comment.