From 06acabcd1a858a9b4609cc8073d5d1c9d0f51076 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Tue, 16 Jul 2024 16:44:07 +0800 Subject: [PATCH] :bug: Fix wrong service type --- pkg/internal/gap/server.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/internal/gap/server.go b/pkg/internal/gap/server.go index 2fcf780..29a9e79 100644 --- a/pkg/internal/gap/server.go +++ b/pkg/internal/gap/server.go @@ -2,10 +2,11 @@ package gap import ( "fmt" + "strings" + "git.solsynth.dev/hydrogen/dealer/pkg/hyper" "git.solsynth.dev/hydrogen/dealer/pkg/proto" "github.com/rs/zerolog/log" - "strings" "github.com/spf13/viper" ) @@ -24,7 +25,7 @@ func RegisterService() error { var err error H, err = hyper.NewHyperConn(viper.GetString("dealer.addr"), &proto.ServiceInfo{ Id: viper.GetString("id"), - Type: hyper.ServiceTypeAuthProvider, + Type: hyper.ServiceTypeInteractiveProvider, Label: "Passport", GrpcAddr: grpcOutbound, HttpAddr: &httpOutbound,