From 29b05499dfbc4e74087bfeb29a3befd482c4e8d2 Mon Sep 17 00:00:00 2001 From: withchao <993506633@qq.com> Date: Thu, 9 Feb 2023 16:35:15 +0800 Subject: [PATCH] group rpc --- internal/rpc/group/group.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/rpc/group/group.go b/internal/rpc/group/group.go index 4f7206948..9ab8067c7 100644 --- a/internal/rpc/group/group.go +++ b/internal/rpc/group/group.go @@ -75,7 +75,7 @@ func NewGroupServer(port int) *groupServer { //conns, err := g.registerCenter.GetConns(config.Config.RpcRegisterName.OpenImConversationName) - g.GroupInterface = controller.NewGroupInterface(controller.NewGroupDatabase(mysql.GormConn(), redis.GetClient(), mongo.GetClient())) + g.GroupInterface = controller.NewGroupInterface(mysql.GormConn(), redis.GetClient(), mongo.GetClient()) return &g }