Skip to content

Commit f7e5214

Browse files
committed
1 parent e5decb7 commit f7e5214

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RestSharp/RestRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public RestRequest(string resource, Method method, DataFormat dataFormat) : this
8888
if (queryStringStart >= 0 && Resource.IndexOf('=') > queryStringStart)
8989
{
9090
var queryParams = ParseQuery(Resource.Substring(queryStringStart + 1));
91-
Resource = resource.Substring(0, queryStringStart);
91+
Resource = Resource.Substring(0, queryStringStart);
9292

9393
foreach (var param in queryParams)
9494
AddQueryParameter(param.Name, param.Value);

0 commit comments

Comments
 (0)