Skip to content

Commit

Permalink
feat: INovuClientConfiguration exposed via DI service provider #58
Browse files Browse the repository at this point in the history
  • Loading branch information
todd committed Aug 28, 2023
1 parent 8bef296 commit 1bf438b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Novu.Extensions/IocNovuRegistrationExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public static IServiceCollection RegisterNovuClients(
RefitSettings refitSettings = null)
{
var novuConfiguration = configuration.GetNovuClientConfiguration();
services.AddTransient<INovuClientConfiguration>(_ => novuConfiguration);

Action<HttpClient> configureClient = c =>
{
Expand Down

0 comments on commit 1bf438b

Please sign in to comment.