From d9c0b1ec750dc7627c47cd3066e6e6ebf3ccd093 Mon Sep 17 00:00:00 2001 From: linuxMate Date: Thu, 14 Dec 2023 02:50:27 +0300 Subject: [PATCH] typo --- cmd/api/init/router/router.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()