From 954b82ec548439cce822c49f6c8c0c986e290c08 Mon Sep 17 00:00:00 2001 From: hasanmd91 Date: Thu, 25 Jan 2024 13:01:36 +0200 Subject: [PATCH] change database --- Ecom.WebAPI/src/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ecom.WebAPI/src/Program.cs b/Ecom.WebAPI/src/Program.cs index 0e22d5b..6b81601 100644 --- a/Ecom.WebAPI/src/Program.cs +++ b/Ecom.WebAPI/src/Program.cs @@ -57,7 +57,7 @@ builder.Services.AddSingleton(); builder.Services.AddSingleton(); -var dataSourceBuilder = new NpgsqlDataSourceBuilder(builder.Configuration.GetConnectionString("Ilh")); +var dataSourceBuilder = new NpgsqlDataSourceBuilder(builder.Configuration.GetConnectionString("Store")); dataSourceBuilder.MapEnum(); dataSourceBuilder.MapEnum(); var dataSource = dataSourceBuilder.Build();