Remove await using

This commit is contained in:
CyberL1 2024-04-18 11:04:40 +02:00
parent bbf669f95b
commit 61754fcf65

View File

@ -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 =>
{