Skip to content

Commit

Permalink
change database
Browse files Browse the repository at this point in the history
  • Loading branch information
hasanmd91 committed Jan 25, 2024
1 parent 9e3315d commit 954b82e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Ecom.WebAPI/src/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
builder.Services.AddSingleton<IAuthorizationHandler, ReviewAdminOrOwnerHandeler>();
builder.Services.AddSingleton<IAuthorizationHandler, ReviewOwnerHandeler>();

var dataSourceBuilder = new NpgsqlDataSourceBuilder(builder.Configuration.GetConnectionString("Ilh"));
var dataSourceBuilder = new NpgsqlDataSourceBuilder(builder.Configuration.GetConnectionString("Store"));
dataSourceBuilder.MapEnum<Role>();
dataSourceBuilder.MapEnum<OrderStatus>();
var dataSource = dataSourceBuilder.Build();
Expand Down

0 comments on commit 954b82e

Please sign in to comment.