From fd6b8cd965bae52651a65f01a8577622c3a58a13 Mon Sep 17 00:00:00 2001 From: Khwezi Mngoma Date: Sat, 9 May 2026 17:44:16 +0200 Subject: [PATCH] Refactored postgres extension --- LiteCharms.Extensions/Postgres.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LiteCharms.Extensions/Postgres.cs b/LiteCharms.Extensions/Postgres.cs index 237c601..50c420c 100644 --- a/LiteCharms.Extensions/Postgres.cs +++ b/LiteCharms.Extensions/Postgres.cs @@ -4,10 +4,10 @@ namespace LiteCharms.Extensions; public static class Postgres { - public static IServiceCollection AddLeadGeneratorDatabase(this IServiceCollection services, IConfiguration configuration) + public static IServiceCollection AddShopDatabase(this IServiceCollection services, IConfiguration configuration) { services.AddPooledDbContextFactory(options => - options.UseNpgsql(configuration.GetConnectionString("PostgresLeadGenerator"))); + options.UseNpgsql(configuration.GetConnectionString("PostgresShop"))); return services; }