added roles with checking in middleware
- still need signup for orgs - login for admin
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
const db = require('../../config/db.config.js'),
|
||||
errorMaker = require('../../helpers/error.maker');
|
||||
|
||||
const { Grant, Cause, Region, Organization } = db;
|
||||
|
||||
// PUT to change specific org's verify column to true
|
||||
exports.verifyOrg = (req, res, next) => {
|
||||
const charity_id = req.params.charity_id;
|
||||
};
|
||||
Reference in New Issue
Block a user