Add typewriter notification service to DI
This commit is contained in:
@@ -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();
|
||||||
Reference in New Issue
Block a user