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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user