fix: use libregraph client

This commit is contained in:
Michael Barz
2026-04-15 08:00:35 +02:00
parent d05db011e5
commit 940bfe5d65
4 changed files with 46 additions and 30 deletions
+2 -1
View File
@@ -23,6 +23,7 @@ import (
"github.com/opencloud-eu/reva/v2/pkg/store"
"github.com/spf13/cobra"
"go-micro.dev/v4/selector"
microstore "go-micro.dev/v4/store"
)
@@ -138,7 +139,7 @@ func Server(cfg *config.Config) *cobra.Command {
// start HTTP server
httpServer, err := http.Server(
http.Adapter(connector.NewHttpAdapter(gatewaySelector, cfg, st)),
http.Adapter(connector.NewHttpAdapter(gatewaySelector, cfg, st, selector.NewSelector(selector.Registry(registry.GetRegistry())))),
http.Logger(logger),
http.Config(cfg),
http.Context(ctx),