fixing get to post for org suggestions

This commit is contained in:
Arjun Patel
2019-01-20 22:51:08 -08:00
parent f5dd981152
commit 008800acdf
6 changed files with 15 additions and 12 deletions
+2 -2
View File
@@ -23,9 +23,9 @@ router.post('/grants/:donor_id', checkAuth, controllers.grant.create);
// DELECT a grant of a donor
router.delete('/grants/:grant_id', checkAuth, controllers.grant.delete);
// GET suggested organizations to distribute to
// POST to get suggested organizations to distribute to
// running "the algorithm"
router.get(
router.post(
'/organizations/',
checkAuth,
controllers.organization.findSuggested