Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #320 from jasonmoore2k/ExecuteAsyncFix

Fix for ExecuteAsync
  • Loading branch information...
commit 4531670970df4e1c487661590370cc733c26401c 2 parents 7365eec + 6349e20
@petejohanson petejohanson authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 RestSharp/RestClient.Async.cs
View
4 RestSharp/RestClient.Async.cs
@@ -39,9 +39,9 @@ public virtual RestRequestAsyncHandle ExecuteAsync(IRestRequest request, Action<
case Method.PATCH:
case Method.POST:
case Method.PUT:
- return ExecuteAsync(request, callback, method, DoAsGetAsync);
- default:
return ExecuteAsync(request, callback, method, DoAsPostAsync);
+ default:
+ return ExecuteAsync(request, callback, method, DoAsGetAsync);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.