diff --git a/ASFEnhance/Data/WebApi/AJaxFollowResponse.cs b/ASFEnhance/Data/WebApi/AJaxFollowResponse.cs index 2cb96738..4696dd4a 100644 --- a/ASFEnhance/Data/WebApi/AJaxFollowResponse.cs +++ b/ASFEnhance/Data/WebApi/AJaxFollowResponse.cs @@ -1,4 +1,5 @@ using ArchiSteamFarm.Steam.Data; +using ASFEnhance.Data.Common; using System.Text.Json.Serialization; namespace ASFEnhance.Data; @@ -6,5 +7,5 @@ namespace ASFEnhance.Data; internal sealed record AJaxFollowResponse { [JsonPropertyName("success")] - public ResultResponse? Success { get; set; } + public BaseResultResponse? Success { get; set; } } diff --git a/ASFEnhance/Profile/WebRequest.cs b/ASFEnhance/Profile/WebRequest.cs index a30cea20..a296124c 100644 --- a/ASFEnhance/Profile/WebRequest.cs +++ b/ASFEnhance/Profile/WebRequest.cs @@ -4,6 +4,7 @@ using ArchiSteamFarm.Web; using ArchiSteamFarm.Web.Responses; using ASFEnhance.Data; +using ASFEnhance.Data.Common; using SteamKit2; using System.Net; using System.Net.Http.Headers; @@ -252,7 +253,7 @@ internal static async Task CraftBadge(Bot bot, SemaphoreSlim semaphore, ui { "levels", "1" }, }; - var response = await bot.ArchiWebHandler.UrlPostToJsonObjectWithSession(request, data: data, referer: referer).ConfigureAwait(false); + var response = await bot.ArchiWebHandler.UrlPostToJsonObjectWithSession(request, data: data, referer: referer).ConfigureAwait(false); return response?.Content?.Result == EResult.OK; } diff --git a/ASFEnhance/WishList/Command.cs b/ASFEnhance/WishList/Command.cs index 71eec43e..0f9fef37 100644 --- a/ASFEnhance/WishList/Command.cs +++ b/ASFEnhance/WishList/Command.cs @@ -3,7 +3,6 @@ using ArchiSteamFarm.Steam; using System.Text; - namespace ASFEnhance.Wishlist; internal static class Command diff --git a/ASFEnhance/WishList/WebRequest.cs b/ASFEnhance/WishList/WebRequest.cs index f0a6f978..536aad44 100644 --- a/ASFEnhance/WishList/WebRequest.cs +++ b/ASFEnhance/WishList/WebRequest.cs @@ -2,6 +2,7 @@ using ArchiSteamFarm.Steam; using ArchiSteamFarm.Steam.Data; using ASFEnhance.Data; +using ASFEnhance.Data.Common; using SteamKit2; namespace ASFEnhance.Wishlist; @@ -24,7 +25,7 @@ internal static async Task AddWishlist(this Bot bot, uint gameId) { "appid", gameId.ToString() }, }; - var response = await bot.ArchiWebHandler.UrlPostToJsonObjectWithSession(request, data: data, referer: referer).ConfigureAwait(false); + var response = await bot.ArchiWebHandler.UrlPostToJsonObjectWithSession(request, data: data, referer: referer).ConfigureAwait(false); if (response == null) { @@ -55,7 +56,7 @@ internal static async Task RemoveWishlist(this Bot bot, uint gameId) { "appid", gameId.ToString() }, }; - var response = await bot.ArchiWebHandler.UrlPostToJsonObjectWithSession(request, data: data, referer: referer).ConfigureAwait(false); + var response = await bot.ArchiWebHandler.UrlPostToJsonObjectWithSession(request, data: data, referer: referer).ConfigureAwait(false); if (response == null) { diff --git a/Directory.Build.props b/Directory.Build.props index 6e974b53..2f1a0bfe 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,6 +1,6 @@ - 2.1.2.3 + 2.1.2.4 diff --git a/wiki b/wiki index c73a94be..d3c1e908 160000 --- a/wiki +++ b/wiki @@ -1 +1 @@ -Subproject commit c73a94be30b3a6d31d6102988d71ca9f0b976db9 +Subproject commit d3c1e908b6fc7bd30812847a23e2fea68a2f5b59