mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
No comments.deleteById simulation for now
This commit is contained in:
parent
56bcfba245
commit
d91e7ff567
1 changed files with 3 additions and 1 deletions
|
@ -93,7 +93,9 @@ Meteor.methods({
|
|||
'comments.deleteById': function (commentId) {
|
||||
|
||||
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();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue