taking out async that was causing problems with creation

This commit is contained in:
Arjun Patel
2019-04-22 01:56:43 -07:00
parent 6542b03fe1
commit 0ec8bb7468
+1 -1
View File
@@ -47,7 +47,7 @@ exports.createGrant = async (req, res, next) => {
} }
); );
const grantsOrgs = await organizations.map(async org => { const grantsOrgs = organizations.map(org => {
return { return {
grant_id: grant.id, grant_id: grant.id,
organization_id: org.id, organization_id: org.id,