From 2d085e959726fd4afc7fff990a8a0726c0d5d1bd Mon Sep 17 00:00:00 2001 From: Gianmaria Del Monte Date: Fri, 27 Oct 2023 17:22:14 +0200 Subject: [PATCH] fix pattern --- internal/http/services/owncloud/ocgraph/ocgraph.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/http/services/owncloud/ocgraph/ocgraph.go b/internal/http/services/owncloud/ocgraph/ocgraph.go index 82383fca55..7362c6f5a1 100644 --- a/internal/http/services/owncloud/ocgraph/ocgraph.go +++ b/internal/http/services/owncloud/ocgraph/ocgraph.go @@ -73,7 +73,7 @@ func New(ctx context.Context, m map[string]interface{}) (global.Service, error) func (s *svc) routerInit() error { s.router.Route("/v1.0", func(r chi.Router) { r.Route("/me", func(r chi.Router) { - r.Get("", s.getMe) + r.Get("/", s.getMe) r.Get("/drives", s.listMySpaces) }) })