diff --git a/src/routes/user.ts b/src/routes/user.ts index 90ba489..68b6b7c 100644 --- a/src/routes/user.ts +++ b/src/routes/user.ts @@ -34,15 +34,15 @@ router.post("/verify", async (req, res) => { await verifyMyTotp(req, res); }); -router.post("/changepw", async (req, res) => { +router.patch("/changepw", async (req, res) => { await changeMyPassword(req, res); }); -router.post("/changeToTOTP", async (req, res) => { +router.patch("/changeToTOTP", async (req, res) => { await changeToTOTP(req, res); }); -router.post("/changeToPW", async (req, res) => { +router.patch("/changeToPW", async (req, res) => { await changeToPW(req, res); });