add missing patch route

Signed-off-by: Christian Richter <c.richter@opencloud.eu>
This commit is contained in:
Christian Richter
2025-05-20 15:10:13 +02:00
committed by Florian Schade
parent a24ead6d20
commit 19c870425e
+1
View File
@@ -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)