We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 701dc8d commit b6eba38Copy full SHA for b6eba38
src/CocApi.Cache/CocApi.Cache.csproj
@@ -6,7 +6,7 @@
6
<Authors>devhl</Authors>
7
<Product />
8
<Description>Caches response from the Clash of Clans API.</Description>
9
- <Version>2.11.13-debug.1</Version>
+ <Version>2.11.13-debug.2</Version>
10
<AssemblyVersion>2.0.0.0</AssemblyVersion>
11
<FileVersion>2.0.0.0</FileVersion>
12
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
src/CocApi.Cache/Services/WarService.cs
@@ -85,9 +85,7 @@ protected override async Task ExecuteScheduledTaskAsync(CancellationToken cancel
85
86
debug = "d";
87
88
- _min = cachedWars.Count == options.ConcurrentUpdates
89
- ? cachedWars.Min(c => c.Id)
90
- : int.MinValue;
+ _min = cachedWars.Min(c => c.Id);
91
92
_id = cachedWars.Count == options.ConcurrentUpdates
93
? cachedWars.Max(c => c.Id)
0 commit comments