Skip to content

Commit

Permalink
fix(postgres): put default options into subkey
Browse files Browse the repository at this point in the history
  • Loading branch information
SonicGD committed Apr 10, 2023
1 parent 1b257ea commit 1cd591f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sitko.Core.Db.Postgres/PostgresDatabaseModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class
{
public override string OptionsKey => $"Db:Postgres:{typeof(TDbContext).Name}";

public override string[] OptionKeys => new[] { "Db:Postgres", OptionsKey };
public override string[] OptionKeys => new[] { "Db:Postgres:Default", OptionsKey };

public override async Task InitAsync(IApplicationContext applicationContext, IServiceProvider serviceProvider)
{
Expand Down

0 comments on commit 1cd591f

Please sign in to comment.