taking in proper amounts and distribution...call stripe methods instead of middleware

This commit is contained in:
Arjun Patel
2019-03-06 14:52:40 -08:00
parent 0a1ce8ee5f
commit e9dd0b3b25
3 changed files with 24 additions and 22 deletions
+1 -2
View File
@@ -22,8 +22,7 @@ router.get('/grants/', checkAuth(roles.DONOR), controllers.grant.findByDonorId);
router.post(
'/grants/',
checkAuth(roles.DONOR),
controllers.grant.create,
controllers.stripe.grantCharge
controllers.grant.create
);
// DELETE a grant of a donor