File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
ArchiSteamFarm/Steam/Integration Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -140,19 +140,19 @@ public void Dispose() {
140140 }
141141
142142 [ PublicAPI ]
143- public async Task < bool > DeclineTradeOffer ( ulong tradeID ) {
143+ public async Task < bool > CancelTradeOffer ( ulong tradeID ) {
144144 ArgumentOutOfRangeException . ThrowIfZero ( tradeID ) ;
145145
146- Uri request = new ( SteamCommunityURL , $ "/tradeoffer/{ tradeID } /decline ") ;
146+ Uri request = new ( SteamCommunityURL , $ "/tradeoffer/{ tradeID } /cancel ") ;
147147
148148 return await UrlPostWithSession ( request ) . ConfigureAwait ( false ) ;
149149 }
150150
151151 [ PublicAPI ]
152- public async Task < bool > CancelTradeOffer ( ulong tradeID ) {
152+ public async Task < bool > DeclineTradeOffer ( ulong tradeID ) {
153153 ArgumentOutOfRangeException . ThrowIfZero ( tradeID ) ;
154154
155- Uri request = new ( SteamCommunityURL , $ "/tradeoffer/{ tradeID } /cancel ") ;
155+ Uri request = new ( SteamCommunityURL , $ "/tradeoffer/{ tradeID } /decline ") ;
156156
157157 return await UrlPostWithSession ( request ) . ConfigureAwait ( false ) ;
158158 }
You can’t perform that action at this time.
0 commit comments