Skip to content

Commit 896f8e3

Browse files
committed
Prevent nullpointerexception in driver
1 parent af4ea63 commit 896f8e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

JohnKnoop.MongoRepository/source/MongoRepository.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@ public async Task<IFindFluent<TEntity, TEntity>> TextSearch(string text)
732732

733733
public class NoBulkWriteResult<T> : BulkWriteResult<T>
734734
{
735-
public NoBulkWriteResult() : base(0, null)
735+
public NoBulkWriteResult() : base(0, Enumerable.Empty<WriteModel<T>>())
736736
{
737737
}
738738

0 commit comments

Comments
 (0)