Skip to content

Commit 46ecfd0

Browse files
authored
fix: syntax error (#818)
We blindly merged #816, assuming there couldn't be an error in such a small change :)
1 parent fa59bc0 commit 46ecfd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Algolia.Search/Clients/SearchIndex.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public async Task<BatchIndexingResponse> SaveObjectAsync<T>(T data, RequestOptio
152152
throw new ArgumentNullException(nameof(data));
153153
}
154154

155-
if (data is IEnumerable && !(data is JObject) && !(data is JRaw)))
155+
if (data is IEnumerable && !(data is JObject) && !(data is JRaw))
156156
{
157157
throw new ArgumentException($"{nameof(data)} should not be an IEnumerable/List/Collection");
158158
}

0 commit comments

Comments
 (0)