fixing bug for undefined
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user