We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent febe311 commit 47a5d91Copy full SHA for 47a5d91
sources/MVCFramework.JSONRPC.pas
@@ -1840,7 +1840,7 @@ function TMVCJSONRPCController.InvokeMethod(const fRPCInstance: TObject;
1840
1841
if Assigned(lJSONNamedParams) and (lParamsCountMinusInjectedOnes <> lJSONNamedParams.Count) then
1842
raise EMVCJSONRPCInvalidParams.CreateFmt('Wrong parameters count. Expected [%d] got [%d].',
1843
- [lParamsCount, lJSONNamedParams.Count]);
+ [lParamsCountMinusInjectedOnes, lJSONNamedParams.Count]);
1844
end
1845
else
1846
begin
0 commit comments