Skip to content

Commit aa00092

Browse files
OneCyrusmichaelstaib
authored andcommitted
Fixed default hash provider dependency injection configuration (#1363)
1 parent f5c317a commit aa00092

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Core/Core/Execution/Extensions/QueryExecutionBuilderExtensions.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -702,8 +702,7 @@ public static IQueryExecutionBuilder AddDefaultDocumentHashProvider(
702702
}
703703

704704
builder.Services.TryAddSingleton<
705-
IDocumentHashProvider,
706-
MD5DocumentHashProvider>();
705+
IDocumentHashProvider>(new MD5DocumentHashProvider());
707706
return builder;
708707
}
709708

0 commit comments

Comments
 (0)