mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 21:02:45 +08:00
Small update to update account command
This commit is contained in:
@ -40,7 +40,7 @@ func Register(r *macaron.Macaron) {
|
||||
// account
|
||||
r.Group("/account", func() {
|
||||
r.Get("/", GetAccount)
|
||||
r.Post("/", UpdateAccount)
|
||||
r.Post("/", bind(m.UpdateAccountCommand{}), UpdateAccount)
|
||||
r.Put("/collaborators", bind(m.AddCollaboratorCommand{}), AddCollaborator)
|
||||
r.Get("/collaborators", GetCollaborators)
|
||||
r.Delete("/collaborators/:id", RemoveCollaborator)
|
||||
|
Reference in New Issue
Block a user