public vs general, roles

This commit is contained in:
Arjun Patel
2019-02-27 20:05:33 -08:00
parent 833c87d1ec
commit d14e111f53
13 changed files with 772 additions and 23 deletions
+2 -2
View File
@@ -5,10 +5,10 @@ const express = require('express'),
const controllers = require('../controllers/admin');
// PUT Manual verification of a charity
// Manual verification of a charity
// TODO: Add checkAuth(roles.ADMIN) back into middleware
router.put(
'/org/:charity_id',
checkAuth(roles.ADMIN),
controllers.organization.verifyOrg
);