Add typewriter notification service to DI

This commit is contained in:
Beau Findlay
2024-03-14 13:24:39 +00:00
parent cb8f2f2159
commit 345d933e36

View File

@@ -20,4 +20,6 @@ else
builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(apiBase) }); builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(apiBase) });
builder.Services.AddSingleton<ITypewriterNotificationService, TypewriterNotificationService>();
await builder.Build().RunAsync(); await builder.Build().RunAsync();