Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
robsmitha committed Aug 26, 2024
1 parent 00db2e5 commit f1fae97
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/Elysian.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
</PackageReference>
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.2" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="NJsonSchema" Version="11.0.0" GeneratePathProperty="true" PrivateAssets="all" />
<PackageReference Include="NJsonSchema.Annotations" Version="11.0.0" GeneratePathProperty="true" PrivateAssets="all" />
<PackageReference Include="NJsonSchema.CodeGeneration.CSharp" Version="11.0.0" GeneratePathProperty="true" PrivateAssets="all" />
<PackageReference Include="NJsonSchema" Version="11.0.0" />
<PackageReference Include="NJsonSchema.Annotations" Version="11.0.0" />
<PackageReference Include="NJsonSchema.CodeGeneration.CSharp" Version="11.0.0" />
<PackageReference Include="NJsonSchema.CodeGeneration.TypeScript" Version="11.0.0" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion src/Infrastructure/DependencyInjection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public static IServiceCollection AddFinancialFeatures(this IServiceCollection se

public static IServiceCollection AddAzureStorageFeatures(this IServiceCollection services, IConfiguration configuration)
{
return services.Configure<AzureStorageSettings>(configuration.GetSection("AzureStorage"))
return services.Configure<AzureStorageSettings>(configuration.GetSection(nameof(AzureStorageSettings)))
.AddSingleton(serviceProvider =>
{
var azureStorageSettings = serviceProvider.GetService<IOptions<AzureStorageSettings>>();
Expand Down

0 comments on commit f1fae97

Please sign in to comment.