Skip to content

Commit 9d3cef2

Browse files
committed
🐞fix: restore UseSqlServer after refactoring sensitive data logging
- Re-added UseSqlServer to DbContext configuration after it was accidentally removed during the refactor that limited sensitive data logging to the Development environment. - Ensures SQL Server remains correctly configured as the database provider.
1 parent 4fafb42 commit 9d3cef2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

EventFlow.Presentation/Config/AppConfiguration.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ public static IServiceCollection AddDbContextConfig(this IServiceCollection serv
2323

2424
services.AddDbContext<EventFlowContext>(options =>
2525
{
26+
options.UseSqlServer(ConnectionString);
27+
2628
if (isDevelopment)
2729
{
2830
options.EnableSensitiveDataLogging(true);

0 commit comments

Comments
 (0)