Skip to content

Commit a3b35dd

Browse files
authored
fix: change pb name for build failed. (#564)
* fix: remove duplicate character. * fix: create RPC zookeeper node to prevent interface call blocking.
1 parent 1009a0f commit a3b35dd

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

internal/rpc/admin/token.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,14 @@ package admin
1717
import (
1818
"context"
1919

20+
"github.com/redis/go-redis/v9"
21+
2022
"github.com/openimsdk/chat/pkg/eerrs"
2123
adminpb "github.com/openimsdk/chat/pkg/protocol/admin"
2224
"github.com/openimsdk/tools/log"
23-
"github.com/redis/go-redis/v9"
2425
)
2526

26-
func (o *adminServer) CreateToken(ctx context.Context, req *admin.CreateTokenReq) (*admin.CreateTokenResp, error) {
27+
func (o *adminServer) CreateToken(ctx context.Context, req *adminpb.CreateTokenReq) (*adminpb.CreateTokenResp, error) {
2728
token, expire, err := o.Token.CreateToken(req.UserID, req.UserType)
2829

2930
if err != nil {

pkg/common/mctx/get.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ package mctx
1616

1717
import (
1818
"context"
19-
"strconv"
2019
"github.com/openimsdk/tools/utils/datautil"
20+
"strconv"
2121

2222
constantpb "github.com/openimsdk/protocol/constant"
2323
"github.com/openimsdk/tools/errs"

0 commit comments

Comments
 (0)