fix(multiple): auth, workers, EF Core, MudTheme fixes
- Auth: AssignmentsController auth bug, ReleaseCamera result, logout endpoint - Security: open redirect fix - Workers: AgentState thread-safety, CameraStreamService async, HttpClientFactory - EF Core: AddCameraDiscoveryFields migration, DI interceptors, retry helper - UI: MudTheme palette config, aria-labels on icon buttons
This commit is contained in:
1 parent
4b83e35df0
commit
153be535d4
17 files changed
+1944
-32
No files matched your search
@@ -1,3 +1,4 @@
|
||||
using Heimdall.Infrastructure.Data.Interceptors;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Design;
|
||||
|
||||
@@ -19,6 +20,9 @@ public class AppDbContextFactory : IDesignTimeDbContextFactory<AppDbContext>
|
||||
optionsBuilder.UseNpgsql(connectionString, npgsql =>
|
||||
npgsql.MigrationsHistoryTable("__EFMigrationsHistory", "public"));
|
||||
|
||||
return new AppDbContext(optionsBuilder.Options);
|
||||
return new AppDbContext(
|
||||
optionsBuilder.Options,
|
||||
new AuditInterceptor(),
|
||||
new SoftDeleteInterceptor());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user