From d21a759ef44bfc1176cbc94254857819c15d8759 Mon Sep 17 00:00:00 2001 From: Reimar Date: Wed, 19 Mar 2025 14:33:11 +0100 Subject: [PATCH] Use correct DBContext class --- backend/Api/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();