Skip to content

Commit 931f918

Browse files
[~] Scoped IEventMediator CactuseSecurity#3145
1 parent 3ccb560 commit 931f918

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/ui/files/FWO.UI/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
builder.Services.AddScoped<AuthenticationStateProvider, AuthStateProvider>();
3939
builder.Services.AddScoped<CircuitHandler, CircuitHandlerService>();
4040
builder.Services.AddScoped<KeyboardInputService, KeyboardInputService>();
41-
builder.Services.AddSingleton<IEventMediator, EventMediator>();
41+
builder.Services.AddScoped<IEventMediator, EventMediator>();
4242

4343
string ApiUri = ConfigFile.ApiServerUri;
4444
string MiddlewareUri = ConfigFile.MiddlewareServerUri;

0 commit comments

Comments
 (0)