ObjectParameterError: Parameter "filter" to find() must be an object, got search
Solution 1:
I think the problem is from the front and in the URL
you should use
http://localhost:5000/api/player/recent/search/${search}
I think the problem is from the front and in the URL
you should use
http://localhost:5000/api/player/recent/search/${search}