Fixed migration not counting collection subs

This commit is contained in:
Stefan Zermatten
2023-06-24 00:50:34 +02:00
parent 6c7308ebf8
commit 5112ecd0c7

View File

@@ -125,7 +125,7 @@ function countSubscribers() {
});
bulkLib.execute();
const bulkLibCols = Libraries.rawCollection().initializeUnorderedBulkOp();
const bulkLibCols = LibraryCollections.rawCollection().initializeUnorderedBulkOp();
LibraryCollections.find({}, {
fields: { _id: 1 }
}).forEach(col => {