Skip to content

Commit

Permalink
Find users by key, add mobile and email (#2398) (#2399)
Browse files Browse the repository at this point in the history
Co-authored-by: shuofan <[email protected]>
  • Loading branch information
erda-bot and shuofan authored Oct 14, 2021
1 parent eb93b47 commit 7f5af92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/core-services/endpoints/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ func (e *Endpoints) SearchUser(ctx context.Context, r *http.Request, vars map[st
if err != nil {
return apierrors.ErrListUser.InvalidParameter("pageSize").ToResp(), nil
}
users, err = e.uc.FuzzSearchUserByName(req.Name)
users, err = e.uc.FindUsersByKey(req.Name)
if err != nil {
return apierrors.ErrListUser.InternalError(err).ToResp(), nil
}
Expand Down

0 comments on commit 7f5af92

Please sign in to comment.