mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
Misc reorder
This commit is contained in:
@@ -140,19 +140,19 @@ public sealed class ArchiWebHandler : IDisposable {
|
||||
}
|
||||
|
||||
[PublicAPI]
|
||||
public async Task<bool> DeclineTradeOffer(ulong tradeID) {
|
||||
public async Task<bool> CancelTradeOffer(ulong tradeID) {
|
||||
ArgumentOutOfRangeException.ThrowIfZero(tradeID);
|
||||
|
||||
Uri request = new(SteamCommunityURL, $"/tradeoffer/{tradeID}/decline");
|
||||
Uri request = new(SteamCommunityURL, $"/tradeoffer/{tradeID}/cancel");
|
||||
|
||||
return await UrlPostWithSession(request).ConfigureAwait(false);
|
||||
}
|
||||
|
||||
[PublicAPI]
|
||||
public async Task<bool> CancelTradeOffer(ulong tradeID) {
|
||||
public async Task<bool> DeclineTradeOffer(ulong tradeID) {
|
||||
ArgumentOutOfRangeException.ThrowIfZero(tradeID);
|
||||
|
||||
Uri request = new(SteamCommunityURL, $"/tradeoffer/{tradeID}/cancel");
|
||||
Uri request = new(SteamCommunityURL, $"/tradeoffer/{tradeID}/decline");
|
||||
|
||||
return await UrlPostWithSession(request).ConfigureAwait(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user