ltonetwork / mongodb-rest

JSON REST server for MongoDB (using node.js)
MIT License
405 stars 143 forks source link

fixes #40 #41

Closed soupdiver closed 6 years ago

soupdiver commented 10 years ago

records is 1 or 0 and not the document updated, that's why we can't access _id Check if we got an error and if yet log it Then check if result is 1, which indicates the document was updated, and if yes write the response

ashleydavis commented 10 years ago

I have fixed this issue in my fork now. Thanks again for pointing it out. It was a lot bigger issue in my fork because I have added more error handling to mongodb-rest.

I'll be publishing to to npm in about a week so that's when you can expect to see these changes live.

soupdiver commented 10 years ago

thanks :+1:

jasny commented 6 years ago

Superseded by #45