Skip to content

Commit

Permalink
minor change to route names
Browse files Browse the repository at this point in the history
  • Loading branch information
abhudaym committed Feb 28, 2021
1 parent 67dbecd commit 9760c4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/userRoutes.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { protectHospital, protectUser } from "../middleware/authMiddleware.js";

const router = express.Router();
router.route("/circle").post(protectUser, updateCircle);
router.route("/sos").put(protectUser, SOS);
router.route("/SOS").put(protectUser, SOS);
router.post("/login", authUser);
router.route("/handleSOS").put(protectUser, handleSOS);
router.route("/profile").get(protectUser, getUserInfo);
Expand Down

0 comments on commit 9760c4d

Please sign in to comment.