diff --git a/backend/Modules/Tipping/DependencyInjection.cs b/backend/Modules/Tipping/DependencyInjection.cs index 1b26545..a4014db 100644 --- a/backend/Modules/Tipping/DependencyInjection.cs +++ b/backend/Modules/Tipping/DependencyInjection.cs @@ -23,7 +23,7 @@ public static class DependencyInjection { IServiceScopeFactory scopeFactory = app.ApplicationServices.GetRequiredService(); using IServiceScope scope = scopeFactory.CreateScope(); - await using MessagingDbContext context = scope.ServiceProvider.GetRequiredService(); + await using TippingDbContext context = scope.ServiceProvider.GetRequiredService(); await context.Database.MigrateAsync(cancellationToken); return app;