mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Return correct error message for invalid fields
This commit is contained in:
committed by
Vinnie Falco
parent
1c0a75d467
commit
da4f77ca1f
@@ -182,7 +182,7 @@ inline std::string invalid_field_message (std::string const& name)
|
||||
|
||||
inline Json::Value invalid_field_error (std::string const& name)
|
||||
{
|
||||
return make_param_error (object_field_message (name));
|
||||
return make_param_error (invalid_field_message (name));
|
||||
}
|
||||
|
||||
inline std::string expected_field_message (
|
||||
|
||||
Reference in New Issue
Block a user