diff --git a/serv_nginx/api_bb/internal/handlers/user.go b/serv_nginx/api_bb/internal/handlers/user.go index 127d7cb..5061b74 100644 --- a/serv_nginx/api_bb/internal/handlers/user.go +++ b/serv_nginx/api_bb/internal/handlers/user.go @@ -38,7 +38,7 @@ func (h *UserHandler) Routes() chi.Router { r.Options("/editProfile", h.handleOptions) r.Get("/profile", h.GetProfile) - r.Put("/editProfile", h.UpdateProfile) + r.Post("/editProfile", h.UpdateProfile) return r }