Skip to content
Advertisement

Tag: meteor

Can not read the slug from url on Flow Router (Meteor)

I’m trying to implement a basic route using Flow Router. But no matter what _id of a collection document I request; I always only get the info about the first document in my collection – ‘Requests’. So here’s my route definition in the file /lib/routes.js: Here’s my helper: Here’s my server publish: And here’s the template: What am I doing

Access user email address in Meteor JS app

I am building an app using Meteor and need to access the stored email address of a logged-in user. I am currently using: to access the user. However, I am only able to access the id. The email address is stored in a nested object that looks like this: I have tried various ways to traverse the JSON object but

Advertisement