🐛 Fix wrong service type
This commit is contained in:
parent
75b7c20d62
commit
06acabcd1a
@ -2,10 +2,11 @@ package gap
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"strings"
|
||||||
|
|
||||||
"git.solsynth.dev/hydrogen/dealer/pkg/hyper"
|
"git.solsynth.dev/hydrogen/dealer/pkg/hyper"
|
||||||
"git.solsynth.dev/hydrogen/dealer/pkg/proto"
|
"git.solsynth.dev/hydrogen/dealer/pkg/proto"
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
"strings"
|
|
||||||
|
|
||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
)
|
)
|
||||||
@ -24,7 +25,7 @@ func RegisterService() error {
|
|||||||
var err error
|
var err error
|
||||||
H, err = hyper.NewHyperConn(viper.GetString("dealer.addr"), &proto.ServiceInfo{
|
H, err = hyper.NewHyperConn(viper.GetString("dealer.addr"), &proto.ServiceInfo{
|
||||||
Id: viper.GetString("id"),
|
Id: viper.GetString("id"),
|
||||||
Type: hyper.ServiceTypeAuthProvider,
|
Type: hyper.ServiceTypeInteractiveProvider,
|
||||||
Label: "Passport",
|
Label: "Passport",
|
||||||
GrpcAddr: grpcOutbound,
|
GrpcAddr: grpcOutbound,
|
||||||
HttpAddr: &httpOutbound,
|
HttpAddr: &httpOutbound,
|
||||||
|
Loading…
Reference in New Issue
Block a user