working create grants, getall, and delete with clean methods

This commit is contained in:
Arjun Patel
2019-01-18 18:02:04 -08:00
parent f046a9f605
commit b0597a99e2
7 changed files with 74 additions and 78 deletions
+3
View File
@@ -21,6 +21,9 @@ router.get('/grants/:donor_id', checkAuth, grants.findByDonorId);
* */
router.post('/grants/:donor_id', checkAuth, grants.create);
// Delete a grant of a donor
router.delete('/grants/:grant_id', checkAuth, grants.delete);
// // Retrieve a single Donor by Id
// router.get('/:donor_id', donors.findById);