diff --git a/hourglass/server/main.js b/hourglass/server/main.js index 15e00f2..7a4426c 100644 --- a/hourglass/server/main.js +++ b/hourglass/server/main.js @@ -76,7 +76,8 @@ Meteor.methods({ }, 'deleteWork': function(workid) { - + // Add security here + work.remove({_id: workid}); }, 'editProfile': function(change) { current = Meteor.user().profile;