From 099e518586d1804ca34b38d010330b90991b4e90 Mon Sep 17 00:00:00 2001 From: Benjamin Doherty Date: Wed, 11 May 2016 00:16:21 -0500 Subject: [PATCH] expose programs related to issuers in systems route. --- app/routes/systems.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routes/systems.js b/app/routes/systems.js index fd796d3..af7c102 100644 --- a/app/routes/systems.js +++ b/app/routes/systems.js @@ -13,7 +13,7 @@ exports = module.exports = function applySystemRoutes (server) { server.get('/systems', showAllSystems); function showAllSystems(req, res, next) { const query = {} - const options = {relationships: true}; + const options = {relationships: true, relationshipsDepth: 2}; if (req.pageData) { options.limit = req.pageData.count;