Hello guys,
I am including the following code in startup both, is that correct ?
Or maybe it should be server only?
import { Meteor } from 'meteor/meteor';
// This represents the keys from Meteor.users objects that should be published
// to the client. If we add secret properties to Meteor.users objects, don't list
// them here to keep them private to the server.
Meteor.users.publicFields = {
firstName: 1,
lastName: 1,
gender: 1,
picture: 1,
levels: 1,
preferences: 1,
points: 1,
gold: 1,
createdAt: 1,
'services.facebook.email': 1
};
Thanks