Add limit in four additional files (#328)

Fixes #221
This commit is contained in:
Francis Mendoza
2022-11-10 05:47:13 -08:00
committed by GitHub
parent 031ad411a6
commit 997742b555
4 changed files with 4 additions and 0 deletions

View File

@@ -85,6 +85,7 @@ doAccountChannels(Context const& context)
response[JS(account)] = ripple::to_string(accountID);
response[JS(channels)] = boost::json::value(boost::json::array_kind);
response[JS(limit)] = limit;
boost::json::array& jsonChannels = response.at(JS(channels)).as_array();
auto const addToResponse = [&](ripple::SLE&& sle) {