Compatibility with older MongoDB

This commit is contained in:
2018-12-17 17:18:05 +01:00
parent 0742684326
commit e64ffe098d
-3
View File
@@ -168,9 +168,6 @@ func (dash *Dashboard) sendStatusReport(w http.ResponseWriter, r *http.Request)
{Name: "nickname", Value: 1},
{Name: "status", Value: 1},
}},
M{"$project": M{
"blacklist.worker_id": 0,
}},
})
if err := pipe.All(&workers); err != nil {