mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 18:11: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
|
@ -94,6 +94,8 @@ Meteor.methods({
|
||||||
|
|
||||||
check(commentId, String);
|
check(commentId, String);
|
||||||
|
|
||||||
|
if (Meteor.isClient) return; // We don't have data in minimongo on the client
|
||||||
|
|
||||||
var comment = Comments.findOne(commentId);
|
var comment = Comments.findOne(commentId);
|
||||||
var user = Meteor.user();
|
var user = Meteor.user();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue