diff --git a/backend/Api/Program.cs b/backend/Api/Program.cs index 02c216a..5802836 100644 --- a/backend/Api/Program.cs +++ b/backend/Api/Program.cs @@ -22,7 +22,7 @@ class Program public static async void RunMigrations(IWebHost app) { await using var scope = app.Services.CreateAsyncScope(); - await using var db = scope.ServiceProvider.GetService(); + await using var db = scope.ServiceProvider.GetService(); if (db != null) { await db.Database.MigrateAsync();