I am using API to display movie search using express and axios when the user searches for a particular movie and I got some error after running the...
For further actions, you may consider blocking this person and/or reporting abuse
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) { ... })Thank you it was such a silly mistake and I couldn't find it!!
It looks like the closing bracket
)is in the wrong place, it should be after the closing curly bracket}I think, to closeforEach.Thank you it was such a silly mistake and I couldn't find it!!