mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-11-10 17:04:49 +08:00
fixed route name
This commit is contained in:
parent
844e67ac3e
commit
845845d257
1 changed files with 1 additions and 2 deletions
|
@ -1,5 +1,4 @@
|
|||
const { authenticateRequest } = require("../../middlewares/auth");
|
||||
|
||||
const { Router } = require("express");
|
||||
const UserController = require("../controllers/user");
|
||||
|
||||
|
@ -11,7 +10,7 @@ router.post("/checkName", UserController.checkName);
|
|||
|
||||
router.post("/delete", UserController.deleteUser);
|
||||
|
||||
router.post("/user/updateName", authenticateRequest, UserController.updateName);
|
||||
router.post("/updateName", authenticateRequest, UserController.updateName);
|
||||
|
||||
router.get("/", authenticateRequest, UserController.getUser);
|
||||
|
||||
|
|
Loading…
Reference in a new issue