Skip to content

Commit 97bd589

Browse files
committed
Merge pull request #183 from petejohanson/patch-sync-context
Fix a small issue with async PATCH support and the SynchronizationContext
2 parents 59d2a10 + 1085687 commit 97bd589

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RestSharp/RestClient.Async.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public virtual RestRequestAsyncHandle ExecuteAsync(IRestRequest request, Action<
8484
webRequest = http.OptionsAsync(response_cb);
8585
break;
8686
case Method.PATCH:
87-
webRequest = http.PatchAsync(r => ProcessResponse(r, asyncHandle, callback));
87+
webRequest = http.PatchAsync(response_cb);
8888
break;
8989
}
9090

0 commit comments

Comments
 (0)