title: Can't save to mongoDB's database
body: <p>While sending a post request i written the following code :</p>
  
  <pre><code> var email = req.body.email ; 
   var newDetails = { email: email };
    Details.create(newDetails);
   console.log(newDetails);
  </code></pre>
  
  <p>while sending the request. The console.log shows me the correct details, 
  However in the mongo shell the only collection that exist is "details" and  it's empty .
  That's the Mongoose Schema:</p>
  
  <pre><code>var mongoose = require("mongoose");
  
  var DetailsSchema = mongoose.Schema({
      email: String
  });
  
  module.exports = mongoose.model("Details", DetailsSchema);
  </code></pre>
  
  <p>I'm using NodeJS.
  Thanks in advance.</p>