i am getting duplicate key error while doing the POST action with the same document that is already saved. i don't want it to be unique.
Error
MongoError: E11000 duplicate key error collection: myDB.users index: username _1 dup key: { : null }
> Schema
> var userSchema = new Schema({
> name: {type: String , required : true},
> age : {type: String , required : true}
> });
POST
router.post('/' , function(req, res, next){
var newUser = new user(body);
newUser.save(function(err) {
if (err) throw err;
res.sendStatus(200);
});