Closed jamesmillerburgess closed 8 years ago
The comma after the remove property is unneeded:
remove
Posts = new Mongo.Collection('posts'); Posts.allow({ update: function(userId, post) { return ownsDocument(userId, post); }, remove: function(userId, post) { return ownsDocument(userId, post); }, }); //...
Yep, fixing this.
The comma after the
remove
property is unneeded: