Sytax error: Extra comma
Closed this issue · 1 comments
ammarhaider7 commented
Doesn't need the comma after the remove function
Posts.allow({
update: function(userId, post) { return ownsDocument(userId, post); },
remove: function(userId, post) { return ownsDocument(userId, post); },
});
SachaG commented
Thanks!