diff --git a/sources/MVCFramework.RESTClient.pas b/sources/MVCFramework.RESTClient.pas index f7f65de74..25e398ea9 100644 --- a/sources/MVCFramework.RESTClient.pas +++ b/sources/MVCFramework.RESTClient.pas @@ -699,7 +699,7 @@ function TMVCRESTClient.AddPathParam(const aName: string; aValue: Integer): IMVC function TMVCRESTClient.AddQueryStringParam(const aName: string; aValue: Double): IMVCRESTClient; begin - Result := AddPathParam(aName, aValue.ToString); + Result := AddQueryStringParam(aName, aValue.ToString); end; function TMVCRESTClient.AddQueryStringParam(const aName: string; aValue: TTime): IMVCRESTClient;