getting total amount for charity page and adding to cart

This commit is contained in:
Arjun Patel
2019-04-22 01:09:50 -07:00
parent 522a35b104
commit 6542b03fe1
2 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ exports.createGrant = async (req, res, next) => {
}
);
const grantsOrgs = organizations.map(org => {
const grantsOrgs = await organizations.map(async org => {
return {
grant_id: grant.id,
organization_id: org.id,