Open ackoi opened 5 years ago
I know it's a bit of a newbie question, but I really couldn't wrap my head around it.
clone the code. Look for the 'for' loop containing the callback and replace with a single callback containing the results.
newResults.forEach(function(result) { **callback(null, result['url'], result);** });
I know it's a bit of a newbie question, but I really couldn't wrap my head around it.