Skip to content

Commit 4531670

Browse files
committed
Merge pull request restsharp#320 from jasonmoore2k/ExecuteAsyncFix
Fix for ExecuteAsync
2 parents 7365eec + 6349e20 commit 4531670

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

RestSharp/RestClient.Async.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ public virtual RestRequestAsyncHandle ExecuteAsync(IRestRequest request, Action<
3939
case Method.PATCH:
4040
case Method.POST:
4141
case Method.PUT:
42-
return ExecuteAsync(request, callback, method, DoAsGetAsync);
43-
default:
4442
return ExecuteAsync(request, callback, method, DoAsPostAsync);
43+
default:
44+
return ExecuteAsync(request, callback, method, DoAsGetAsync);
4545
}
4646
}
4747

0 commit comments

Comments
 (0)