fix notification bug on comment

This commit is contained in:
Sacha Greif 2016-05-17 12:18:05 +09:00
parent 55fcdf98dc
commit 477182f17f

View file

@ -1,4 +1,5 @@
Comments.getNotificationProperties = function (comment) {
Comments.getNotificationProperties = function (data) {
const comment = data.comment;
var commentAuthor = Meteor.users.findOne(comment.userId);
var post = Posts.findOne(comment.postId);
var properties = {