Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// Todo: grab shop from `admin.shops` subscription.
const shopId = shops[0]._id; // The `_id` field on a Shop object contains your shopId.
* Subscribe to a Meteor Collection
'admin.orders', // Meteor subscription name
[shopId], // Any parameters to pass to the Meteor subscription.
function () { // Callback when the subscription is complete
console.log('Subscription complete:');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment