All the doc names we had in the projects collection are back-filled now. A few docs will get dummy values back-filled.
@@ -39,9 +39,7 @@ module.exports = MongoManager = {
.find(
{
project_id: ObjectId(project_id.toString()),
- deleted: true,
- // TODO(das7pad): remove name filter after back filling data
- name: { $exists: true }
+ deleted: true
},
projection: filter,
@@ -192,8 +192,7 @@ describe('MongoManager', function () {
this.db.docs.find
.calledWith({
project_id: ObjectId(this.project_id),
})
.should.equal(true)