tdegrunt/mongodb-rest — pull request #41 by soupdiver (2014-08-03 17:56:55+00:00)
Title: fixes #40

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