fixing grant deletion

This commit is contained in:
Arjun Patel
2019-02-01 12:17:43 -08:00
parent 5af606e4eb
commit 49c470ab47
2 changed files with 5 additions and 7 deletions
+1 -5
View File
@@ -23,11 +23,7 @@ router.get('/grants/', checkAuth(roles.DONOR), controllers.grant.findByDonorId);
router.post('/grants/', checkAuth(roles.DONOR), controllers.grant.create);
// DELECT a grant of a donor
router.delete(
'/grants/:grant_id',
checkAuth(roles.DONOR),
controllers.grant.delete
);
router.delete('/grants/', checkAuth(roles.DONOR), controllers.grant.delete);
// POST to get suggested organizations to distribute to
// running "the algorithm"