Skip to content

Commit

Permalink
[feat] #234 강제 업데이트 버전 확인 시, 토큰 검증 로직 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
yeseul106 committed Dec 8, 2023
1 parent 638625c commit 41edda9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/router/userRouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { auth } from "../middlewares";
const router: Router = Router();

//* 닉네임 중복 검사 POST /user/duplicate
router.post("/duplicate", userController.postDuplicateNickname);
router.post("/duplicate", auth, userController.postDuplicateNickname);
//* 유저 업데이트 버전 확인하기 GET /user/version
router.get("/v1/version", auth, userController.getUserVersion)
router.get("/v1/version", userController.getUserVersion);

export default router;
export default router;

0 comments on commit 41edda9

Please sign in to comment.