Skip to content

Commit

Permalink
Change markAsRead into a patch
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroavpereira committed Sep 1, 2024
1 parent 19622f9 commit 217ce4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/rooms.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ roomsRouter.use(authenticator);

roomsRouter.get("/", roomsController.index);
roomsRouter.get("/swap/:swap_id", roomsController.showSwap);
roomsRouter.get(
roomsRouter.patch(
"/markAsRead/:room_id",
roomsController.markAsRead,
roomsController.showRoom
Expand Down

0 comments on commit 217ce4e

Please sign in to comment.