Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meteor 3.0 migration #7

Open
lc3t35 opened this issue Mar 16, 2024 · 0 comments
Open

Meteor 3.0 migration #7

lc3t35 opened this issue Mar 16, 2024 · 0 comments

Comments

@lc3t35
Copy link

lc3t35 commented Mar 16, 2024

Deprecated: .findOne needs to be migrated to findOneAsync in collection "__dummy_coll_ynzQhLXMhZLHznceE"!
W20240316-17:17:34.912(1)? (STDERR) => at exposeMongoLivedata (packages/montiapm:meteorx/src/mongo-livedata.js:9:8)

Can you please update the line 9 (coll.findOne();)

if (Meteor.isFibersDisabled) {
  // Meteor 3.0
  coll.findOneAsync();
} else {
  // Meteor 2.x
  coll.findOne();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant