Closed web3rover closed 8 years ago
Have you tried to pass the id directly as a string and not as an object. Here is an example from the seneca docs:
var id = '...'
var foo_entity = seneca.make('foo')
foo_entity.remove$( id, function(err){ ... })
This ^
Here is the code
Seems like I am passing the ID wrong way. It gives timeout error. But the document gets deleted from the
coupons
collection.Please help me to fix this.