From 36f7eeecb83f1cd84b9c109dcd21563f076e6d74 Mon Sep 17 00:00:00 2001 From: Spencer Norman Date: Thu, 13 Jul 2017 15:58:51 -0600 Subject: [PATCH] Fix You may not observe cursor with fields _id: 0 Fixes console error ``` Error: You may not observe a cursor with {fields: {_id: 0}} ``` Not really sure when it got introduced, perhaps in Meteor `1.5.1rc5`? @erik and I had both seen this issue intermittently --- client/modules/i18n/startup.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/client/modules/i18n/startup.js b/client/modules/i18n/startup.js index 16a8409878e..7fbe8d5f0c3 100644 --- a/client/modules/i18n/startup.js +++ b/client/modules/i18n/startup.js @@ -51,11 +51,7 @@ Meteor.startup(() => { // return Meteor.subscribe("Translations", language, () => { // fetch reaction translations - const translations = Translations.find({}, { - fields: { - _id: 0 - } - }).fetch(); + const translations = Translations.find({}).fetch(); // // reduce and merge translations