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({
|
return res.status(200).json({
|
||||||
message: 'Successfully charged or subscribed',
|
message: 'Successfully charged or subscribed',
|
||||||
grant: req.grant
|
grant
|
||||||
});
|
});
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
next(error);
|
next(error);
|
||||||
|
|||||||
Reference in New Issue
Block a user