No comments.deleteById simulation for now

This commit is contained in:
Epaminond 2016-11-04 00:03:27 +02:00
parent 56bcfba245
commit d91e7ff567

View file

@ -94,6 +94,8 @@ Meteor.methods({
check(commentId, String);
if (Meteor.isClient) return; // We don't have data in minimongo on the client
var comment = Comments.findOne(commentId);
var user = Meteor.user();