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
+3 -3
View File
@@ -5,13 +5,13 @@ const express = require('express'),
const controllers = require('../controllers/organization');
// POST Signup route
// Charity signup route
router.post('/', controllers.organization.create);
// POST add cause
// Add cause
router.post('/cause', checkAuth(roles.ORGANIZATION), controllers.cause.create);
// POST add region
// Add region
router.post(
'/region',
checkAuth(roles.ORGANIZATION),