fix incorrect max_depth param

This commit is contained in:
gladcow 2019-10-05 08:59:37 +03:00
parent 8df037a249
commit 026c5a49ad

View file

@ -244,7 +244,7 @@ namespace detail {
void new_connection( const fc::http::websocket_connection_ptr& c )
{
auto wsc = std::make_shared<fc::rpc::websocket_api_connection>(c, 1);
auto wsc = std::make_shared<fc::rpc::websocket_api_connection>(c, GRAPHENE_MAX_NESTED_OBJECTS);
auto login = std::make_shared<graphene::app::login_api>( std::ref(*_self) );
login->enable_api("database_api");