mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-27 03:58:55 +08:00
ctx error
This commit is contained in:
parent
e243012438
commit
63cf4a60ae
@ -30,6 +30,7 @@ func (u *UserCheck) getConn() (*grpc.ClientConn, error) {
|
||||
func (u *UserCheck) GetUsersInfos(ctx context.Context, userIDs []string, complete bool) ([]*sdkws.UserInfo, error) {
|
||||
cc, err := u.getConn()
|
||||
if err != nil {
|
||||
log.Error("", "call getConn err", err.Error())
|
||||
return nil, err
|
||||
}
|
||||
resp, err := user.NewUserClient(cc).GetDesignateUsers(ctx, &user.GetDesignateUsersReq{
|
||||
|
Loading…
x
Reference in New Issue
Block a user