Skip to content

Commit

Permalink
Fixed default hash provider dependency injection configuration (#1363)
Browse files Browse the repository at this point in the history
  • Loading branch information
OneCyrus authored and michaelstaib committed Jan 9, 2020
1 parent f5c317a commit aa00092
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -702,8 +702,7 @@ public static IQueryExecutionBuilder AddDefaultDocumentHashProvider(
}

builder.Services.TryAddSingleton<
IDocumentHashProvider,
MD5DocumentHashProvider>();
IDocumentHashProvider>(new MD5DocumentHashProvider());
return builder;
}

Expand Down

0 comments on commit aa00092

Please sign in to comment.