Use latest SteamStorefrontAPI version

This commit is contained in:
Jeddunk 2023-12-25 20:56:54 +01:00
parent d56e480286
commit 956b5e6693
3 changed files with 2 additions and 11 deletions

View file

@ -133,7 +133,7 @@ namespace auto_creamapi.Services
string archiveJson = await client.GetStringAsync($"https://archive.org/wayback/available?url={steamDbUrl}");
var archiveResult = JsonSerializer.Deserialize<AvailableArchive>(archiveJson);
if (archiveResult == null || archiveResult.ArchivedSnapshots.Closest.Status != "200")
if (archiveResult == null || archiveResult.ArchivedSnapshots.Closest?.Status != "200")
{
return dlcList;
}