We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d89cb5c commit 55abfcbCopy full SHA for 55abfcb
1 file changed
Common/OpenShockServiceHelper.cs
@@ -190,7 +190,7 @@ public static IServiceCollection AddOpenShockServices(this IServiceCollection se
190
// <---- OpenShock Services ---->
191
192
services.AddScoped<ISessionService, SessionService>();
193
- services.AddSingleton<IWebhookService, WebhookService>();
+ services.AddScoped<IWebhookService, WebhookService>();
194
services.AddSingleton<IBatchUpdateService, BatchUpdateService>();
195
services.AddHostedService<BatchUpdateService>(provider =>
196
(BatchUpdateService)provider.GetRequiredService<IBatchUpdateService>());
0 commit comments