From 6850701b47ac017f4385d937a5f5fc7cc767af91 Mon Sep 17 00:00:00 2001 From: valitovgaziz Date: Sat, 11 Oct 2025 10:11:21 +0500 Subject: [PATCH] modified: serv_nginx/api_bb/internal/handlers/user.go editProfile change method form put to post --- serv_nginx/api_bb/internal/handlers/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }