mirror of
https://github.com/CyberL1/Minecraft-Realms-Emulator.git
synced 2024-12-22 04:18:21 -05:00
Remove await using
This commit is contained in:
parent
bbf669f95b
commit
61754fcf65
@ -22,7 +22,7 @@ builder.Services.AddSwaggerGen();
|
||||
|
||||
var dataSourceBuilder = new NpgsqlDataSourceBuilder(Environment.GetEnvironmentVariable("CONNECTION_STRING"));
|
||||
dataSourceBuilder.EnableDynamicJson();
|
||||
await using var dataSource = dataSourceBuilder.Build();
|
||||
var dataSource = dataSourceBuilder.Build();
|
||||
|
||||
builder.Services.AddDbContext<DataContext>(options =>
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user