people.js 136 B

1234567
  1. Meteor.publish('people', (limit) => {
  2. check(limit, Number);
  3. return Users.find({}, {
  4. limit,
  5. sort: {createdAt: -1},
  6. });
  7. });