From 102b573ca5e293cf7719bee2f628cbcbf7001f52 Mon Sep 17 00:00:00 2001 From: Arjun Patel Date: Thu, 9 May 2019 01:44:24 -0700 Subject: [PATCH] sending more data for dashboard --- app/controllers/grant.controller.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controllers/grant.controller.js b/app/controllers/grant.controller.js index cc12c24..5af0d7a 100644 --- a/app/controllers/grant.controller.js +++ b/app/controllers/grant.controller.js @@ -162,7 +162,8 @@ exports.getGrantsByDonorId = async (req, res, next) => { o.id, o.name, o.primary_cause, - o.primary_region + o.primary_region, + o.profile_pic_url from grants_organizations as go left join organizations as o on o.id = go.organization_id where grant_id = :grant_id