taking out async that was causing problems with creation
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user