changes to organization model

This commit is contained in:
Arjun Patel
2019-03-01 23:38:22 -08:00
parent d14e111f53
commit 571c3931c2
4 changed files with 70 additions and 7 deletions
+1
View File
@@ -7,6 +7,7 @@ const { Donor, Organization } = db;
// Find a Donor/Org by email + login with JWT
exports.login = (type, role) => (req, res, next) => {
console.log('haha');
const curr_types = {
donor: Donor,
org: Organization