diff --git a/cmd/api/init/router/router.go b/cmd/api/init/router/router.go index 8f08cc91..1d75b76c 100644 --- a/cmd/api/init/router/router.go +++ b/cmd/api/init/router/router.go @@ -65,7 +65,7 @@ func InitRouter(auth *auth.Handler, authRouter.Methods("POST").Path("/checkAuth").HandlerFunc(auth.HealthCheck) authRouter.Methods("POST").Path("/loginCheck").HandlerFunc(auth.CheckLoginUnique) authRouter.Methods("POST").Path("/logout").HandlerFunc(auth.LogOut) - authRouter.Methods("PUTCH").Path("/password").HandlerFunc(auth.ChangePassword) + authRouter.Methods("PUT").Path("/password").HandlerFunc(auth.ChangePassword) } accountRouter := apiRouter.PathPrefix("/account").Subrouter()