Permalink
Browse files

Merge pull request #320 from jasonmoore2k/ExecuteAsyncFix

Fix for ExecuteAsync
  • Loading branch information...
2 parents 7365eec + 6349e20 commit 4531670970df4e1c487661590370cc733c26401c @petejohanson petejohanson committed Sep 5, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 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);
}
}

0 comments on commit 4531670

Please sign in to comment.