Skip to content

Commit

Permalink
feat: Update Replay unpacking dependencies
Browse files Browse the repository at this point in the history
- Updated the placeholder value for JWT Secret in appsettings.Development.json
- Refactored the configuration of MinimapApiClient in Startup.cs to use Configuration.GetSection("MinimapApi")
- Upgraded Nodsoft.WowsReplaysUnpack.ExtendedData package reference to version 2.0.22-alpha-g89b1099182 in WowsKarma.Api.csproj
  • Loading branch information
SakuraIsayeki committed Jul 23, 2023
1 parent 1103f66 commit 6c913f0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion WowsKarma.Api/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ public void ConfigureServices(IServiceCollection services)
builder.AddExtendedData();
});

services.AddMinimapApiClient(options => Configuration.GetSection("MinimapApi").Bind(options));
services.AddMinimapApiClient(Configuration.GetSection("MinimapApi"));

services.AddHangfireServer();
services.AddHangfire((s, config) =>
Expand Down
2 changes: 1 addition & 1 deletion WowsKarma.Api/WowsKarma.Api.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<PackageReference Include="Microsoft.Extensions.Configuration.CommandLine" Version="7.0.0" />
<PackageReference Include="NodaTime" Version="3.1.6" />
<PackageReference Include="Nodsoft.Wargaming.Api.Client" Version="0.3.5" />
<PackageReference Include="Nodsoft.WowsReplaysUnpack.ExtendedData" Version="1.1.4" />
<PackageReference Include="Nodsoft.WowsReplaysUnpack.ExtendedData" Version="2.0.22-alpha-g89b1099182" />
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="7.0.4" />
<PackageReference Include="Serilog.AspNetCore" Version="7.0.0" />
<PackageReference Include="Serilog.Extensions.Logging" Version="7.0.0" />
Expand Down
2 changes: 1 addition & 1 deletion WowsKarma.Api/appsettings.Development.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"JWT": {
"ValidAudience": "localhost",
"ValidIssuer": "localhost",
"Secret": "FIXME : Placeholder value"
"Secret": "CHANGE ME : This is a Placeholder value"
},
"Seq": {
"ListenUrl": "http://seq"
Expand Down

0 comments on commit 6c913f0

Please sign in to comment.