From daceab9c12992017fcf26fda547445842c269cac Mon Sep 17 00:00:00 2001 From: AlanMoonbase Date: Sun, 15 Jun 2025 14:58:21 -0700 Subject: [PATCH] Supress Warning In ``Program.cs`` --- qtc-net-server/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qtc-net-server/Program.cs b/qtc-net-server/Program.cs index a8f44a9..08664f5 100644 --- a/qtc-net-server/Program.cs +++ b/qtc-net-server/Program.cs @@ -37,7 +37,7 @@ builder.Services.AddDbContext(options => return; } - if (builder.Environment.IsProduction()) options.UseMySQL(builder.Configuration.GetConnectionString("DefaultConnection")); + if (builder.Environment.IsProduction()) options.UseMySQL(builder.Configuration.GetConnectionString("DefaultConnection")!); else options.UseSqlite(builder.Configuration.GetConnectionString("DevelopmentConnection")); // ignore pending model changes warning