DEV Community

Discussion on: I am getting an error while using express and axios

Collapse
 
thughes24 profile image
Tom Hughes

It looks like the error is from the second bracket after the function definition inside the for loop.

So;
forEach(function(movie)) { ... }

Would become;
forEach(function(movie) { ... })

Collapse
 
sanketnjain5 profile image
Sanket N Jain

Thank you it was such a silly mistake and I couldn't find it!!