Skip to content

Commit 1feac5d

Browse files
acoumbAndyButland
andauthored
Update src/Umbraco.Cms.Integrations.Search.Algolia/Services/AlgoliaSearchPropertyIndexValueFactory.cs
Co-authored-by: Andy Butland <[email protected]>
1 parent 7c27ff4 commit 1feac5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Umbraco.Cms.Integrations.Search.Algolia/Services/AlgoliaSearchPropertyIndexValueFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public virtual KeyValuePair<string, string> GetValue(IProperty property, string
3636

3737
if (indexValues == null || !indexValues.Any()) return new KeyValuePair<string, string>(property.Alias, string.Empty);
3838

39-
var indexValue = indexValues.FirstOrDefault();
39+
var indexValue = indexValues.First();
4040

4141
if (Converters.ContainsKey(property.PropertyType.PropertyEditorAlias))
4242
{

0 commit comments

Comments
 (0)