Fixed AuditInterceptor.cs , add GraphQL error logging, add translation request get

This commit is contained in:
gamer147
2025-11-18 13:14:31 -05:00
parent 0c1705ebe1
commit 716087e4a4
6 changed files with 56 additions and 4 deletions

View File

@@ -41,6 +41,13 @@ public class Program
#endregion
var app = builder.Build();
// Update database
using (var scope = app.Services.CreateScope())
{
var dbContext = scope.ServiceProvider.GetRequiredService<TranslationServiceDbContext>();
dbContext.UpdateDatabase();
}
app.UseHttpsRedirection();