Skip to content

Commit

Permalink
fix: search log
Browse files Browse the repository at this point in the history
  • Loading branch information
icey-yu committed Jul 18, 2024
1 parent 643ed9c commit 84e78ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/common/storage/controller/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ func (u *userDatabase) InitOnce(ctx context.Context, users []*model.User) error

// FindWithError Get the information of the specified user and return an error if the userID is not found.
func (u *userDatabase) FindWithError(ctx context.Context, userIDs []string) (users []*model.User, err error) {
userIDs = datautil.Distinct(userIDs)
users, err = u.cache.GetUsersInfo(ctx, userIDs)
if err != nil {
return
Expand Down

0 comments on commit 84e78ed

Please sign in to comment.