deleteWork no security

This commit is contained in:
yamanq 2016-08-10 17:43:31 -04:00
parent 22704145c6
commit 5c8cca4009

View File

@ -76,7 +76,8 @@ Meteor.methods({
},
'deleteWork': function(workid) {
// Add security here
work.remove({_id: workid});
},
'editProfile': function(change) {
current = Meteor.user().profile;