Skip to content

Instantly share code, notes, and snippets.

@filipenevola
Created August 8, 2017 19:37
Show Gist options
  • Select an option

  • Save filipenevola/ed7eb8e81fc8d8a902efe5734a73ffef to your computer and use it in GitHub Desktop.

Select an option

Save filipenevola/ed7eb8e81fc8d8a902efe5734a73ffef to your computer and use it in GitHub Desktop.
Meteor.methods({
like(postId) {
check(postId, String);
Posts.like(postId, this.userId);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment