diff --git a/route_meta/get_pool.sql b/route_meta/get_pool.sql index f966e32..4616d95 100644 --- a/route_meta/get_pool.sql +++ b/route_meta/get_pool.sql @@ -75,6 +75,6 @@ GROUP BY ,iter ) SELECT - row_to_json(rows) + json_agg(row_to_json(rows)) FROM rows \ No newline at end of file