add missing patch route
Signed-off-by: Christian Richter <c.richter@opencloud.eu>
This commit is contained in:
committed by
Florian Schade
parent
a24ead6d20
commit
19c870425e
@@ -295,6 +295,7 @@ func NewService(opts ...Option) (Graph, error) { //nolint:maintidx
|
||||
r.Post("/changePassword", svc.ChangeOwnPassword)
|
||||
r.Get("/photo", svc.GetMePhoto)
|
||||
r.Put("/photo", svc.UpdateMePhoto)
|
||||
r.Patch("/photo", svc.UpdateMePhoto)
|
||||
})
|
||||
r.Route("/users", func(r chi.Router) {
|
||||
r.Get("/", svc.GetUsers)
|
||||
|
||||
Reference in New Issue
Block a user