modified: serv_nginx/api_bb/internal/handlers/user.go

editProfile change method form put to post
This commit is contained in:
2025-10-11 10:11:21 +05:00
parent 1e725dddbc
commit 6850701b47
+1 -1
View File
@@ -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
}