Skip to content

Commit

Permalink
AD-133 Updated formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
morrisonbrett committed Nov 5, 2024
1 parent b2b2b6c commit f0978e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TrueVote.Api/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public void ConfigureServices(IServiceCollection services)
jsonoptions.SerializerSettings.ContractResolver = new DefaultContractResolver();
});
services.AddEndpointsApiExplorer();

services.AddSwaggerGen(o =>
{
var baseUrl = "/api";
Expand Down Expand Up @@ -157,8 +158,7 @@ public void ConfigureServices(IServiceCollection services)

services.AddLogging(builder =>
{
builder.SetMinimumLevel(LogLevel.Debug)
.AddProvider(new CustomLoggerProvider(builder));
builder.SetMinimumLevel(LogLevel.Debug).AddProvider(new CustomLoggerProvider(builder));
});

services.AddDbContextFactory<TrueVoteDbContext>(options => options.UseCosmos(_configuration.GetConnectionString("CosmosDbConnectionString"), "true-vote"), ServiceLifetime.Scoped);
Expand Down

0 comments on commit f0978e9

Please sign in to comment.