modified: begushiybashkir/bbvue/src/views/ProfileEdit.vue

modified:   serv_nginx/api_bb/internal/handlers/auth.go
change path to editProfile for updateProfile handler
This commit is contained in:
2025-10-11 05:17:13 +05:00
parent 7eaddd9f37
commit 62b0d4763d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ func (h *AuthHandler) Routes() chi.Router {
r.Post("/login", h.Login)
r.Post("/logout", h.Logout)
r.Get("/profile", h.GetProfile)
r.Put("/profile", h.UpdateProfile)
r.Put("/editProfile", h.UpdateProfile)
return r
}