allowing charities to add ribbons for

This commit is contained in:
Arjun Patel
2019-04-12 14:11:33 -07:00
parent 3756f88cc7
commit 66df6bb576
3 changed files with 106 additions and 106 deletions
+2 -5
View File
@@ -55,11 +55,8 @@ router.get('/dashboard', checkAuth(roles.DONOR), donor.getDashboardData);
router.get('/charges', checkAuth(roles.DONOR), charge.getAllChargesbyDonor);
router.put(
'/statusupdate/ribbon/:update_id',
checkAuth(roles.DONOR),
post.addRibbon
);
//TODO: checkAuth so only donors can add ribbons
router.put('/statusupdate/ribbon/:update_id', post.addRibbon);
// // Retrieve a single Donor by Id
// router.get('/:donor_id', donor.findById);