Open achirkof opened 8 years ago
The problem is in options parameter here:
return Exercises.find(selector, options).fetch();
} else {
return Exercises.find({}, options).fetch();
I don't really know why, but when I remove it everything working fine.
you are passing on options
variable a property that hasn't the expected type.
It happened to me when i was passing a limit
parameter within my helper method of type string instead of an integer.
Put a console.log(options,selector)
on your server method to identify what variable has it's wrong data type. In my case the query looked like:
cursor = Collection.find(selector, {limit : '' })
where limit
should be an integer.
Hello. I'm trying to implement this package but have an error:
Here is my code. Client
Server