From 79112d9e48f9c8ad35ce920d64b1489c1a5b9888 Mon Sep 17 00:00:00 2001 From: Arjun Patel Date: Sat, 2 Feb 2019 22:59:35 -0800 Subject: [PATCH] fixing bug for undefined --- app/controllers/donor/stripe.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/donor/stripe.controller.js b/app/controllers/donor/stripe.controller.js index 6214993..384e259 100644 --- a/app/controllers/donor/stripe.controller.js +++ b/app/controllers/donor/stripe.controller.js @@ -92,7 +92,7 @@ exports.grantCharge = async (grant, req, res, next) => { return res.status(200).json({ message: 'Successfully charged or subscribed', - grant: req.grant + grant }); } catch (error) { next(error);