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

Automatic Merge
Этот коммит содержится в:
Miguel de la Cruz
2020-12-15 14:45:17 +01:00
коммит произвёл GitHub
родитель fe1c42d399
Коммит ec5c33cf14

Просмотреть файл

@@ -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
}
}