[MM-31357] Do not return empty appError as part of users autocompletion (#16550)

Automatic Merge
This commit is contained in:
Miguel de la Cruz
2020-12-15 14:45:17 +01:00
committed by GitHub
parent fe1c42d399
commit ec5c33cf14

View File

@@ -216,7 +216,7 @@ func (s *SearchUserStore) AutocompleteUsersInChannel(teamId, channelId, term str
continue
}
mlog.Debug("Using the first available search engine", mlog.String("search_engine", engine.GetName()))
return autocomplete, err
return autocomplete, nil
}
}