From 19c870425e8e46e8f1ea24f78fa38c988805bc70 Mon Sep 17 00:00:00 2001 From: Christian Richter Date: Fri, 9 May 2025 08:58:53 +0200 Subject: [PATCH] add missing patch route Signed-off-by: Christian Richter --- services/graph/pkg/service/v0/service.go | 1 + 1 file changed, 1 insertion(+) diff --git a/services/graph/pkg/service/v0/service.go b/services/graph/pkg/service/v0/service.go index bdb86e4a0..89ad821bb 100644 --- a/services/graph/pkg/service/v0/service.go +++ b/services/graph/pkg/service/v0/service.go @@ -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)