senter-mongo-repository
Advanced tools
Comparing version 1.0.17 to 1.0.18
@@ -202,8 +202,7 @@ const MongoClient = require('mongodb').MongoClient; | ||
delete document.id; | ||
delete document._id; | ||
document.updatedAt = new Date(); | ||
update.updatedAt = new Date(); | ||
filter.userId = userId | ||
delete update._id; | ||
delete update.userId; | ||
@@ -210,0 +209,0 @@ |
{ | ||
"name": "senter-mongo-repository", | ||
"version": "1.0.17", | ||
"version": "1.0.18", | ||
"description": "Contain methods to work with mongo db", | ||
@@ -5,0 +5,0 @@ "main": "mongoReposotory.js", |
31783
855