I have this javascript function that calls an async function and stores the result in an array. I get a syntax error on line 8 of the function. Error: "Uncaught SyntaxError: missing ) after argument list". I don't see any bracket issues in the function. Could someone please point out if they see any errors?
    async function ProcessWorkItem(workItems) {
        var tempData = [];
        workItems.relations.forEach(function(relation){
            if (relation.rel.includes("Forward")) {
                //console.log(i);
                var split = relation.url.split("/");                            
                var childId = split[split.length-1];
                tempData.push(await getChildWorkItem(childId));
            } 
        });
        console.log(tempData);
        return Promise.all(tempData)
    }

 
     
     
    