Made feedback not sendable without title & description

This commit is contained in:
Stefan Zermatten
2015-05-27 09:18:34 +02:00
parent 87d722adaf
commit 1323d8006c
3 changed files with 29 additions and 3 deletions

View File

@@ -50,7 +50,7 @@ Meteor.methods({
from: "reports@dicecloud.com",
to: "stefan.zermatten@gmail.com",
subject: "DiceCloud feedback - " + report.title,
text: JSON.stringify(report, null, '\t'),
text: JSON.stringify(_.omit(report, "metaData"), null, '\t'),
});
},
deleteReport: function(id) {