[CHANGE] Update test WebApi

This commit is contained in:
max 2024-11-30 18:56:24 +01:00
parent e1cba8d68c
commit 91476907f0

View File

@ -16,7 +16,7 @@ var serilogLogger = SetupSerilog();
LogService.AddLogAdapter(new BasedSerilogAdapter(serilogLogger));
builder.Logging.ClearProviders();
builder.Logging.AddDotBased(LogService.Options);
builder.Logging.AddDotBasedLoggerProvider(LogService.Options);
// Add services to the container.
// Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle
@ -25,8 +25,6 @@ builder.Services.AddSwaggerGen();
var app = builder.Build();
// Configure the HTTP request pipeline.
if (app.Environment.IsDevelopment())
{