adding in charify credit implementation

This commit is contained in:
Arjun Patel
2019-04-28 20:04:51 -07:00
parent 65258f1ecf
commit 2b454b1dad
2 changed files with 29 additions and 6 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ exports.createGrant = async (req, res, next) => {
var { name, monthly, organizations, amount, stripeToken } = req.body;
actual_total = Math.round(amount * 100) / 100;
actual_total = amount;
if (!stripeToken) {
throw errorMaker(400, 'No stripe token given');