danieleteti / delphimvcframework

DMVCFramework (for short) is a popular and powerful framework for WEB API in Delphi. Supports RESTful and JSON-RPC WEB APIs development.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error adding a QueryStringParam of type Double

diegofgeremias opened this issue · comments

I believe it is just a mistake of the type Ctrl + C Ctrl + V, but the code today is as follows:

function TMVCRESTClient.AddQueryStringParam(const aName: string; aValue: Double): IMVCRESTClient;
begin
Result := AddPathParam(aName, aValue.ToString);
end;

When in fact I believe it must be something like:

function TMVCRESTClient.AddQueryStringParam(const aName: string; aValue: Double): IMVCRESTClient;
begin
Result := AddQueryStringParam(aName, aValue.ToString);
end;

I'll check ASAP