fixing bug for undefined

This commit is contained in:
Arjun Patel
2019-02-02 22:59:35 -08:00
parent c64c044961
commit 79112d9e48
+1 -1
View File
@@ -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);