LT-67 Adding form for DIMSE servers

This commit is contained in:
Bruno Alves de Faria authored and Erik Ziegler committed 2016-08-04 16:49:51 +02:00
1 parent 3873ac6b3b
commit 16a302e979
11 files changed
+145 -50

No files matched your search

+5 -1
View File
@@ -23,12 +23,16 @@ Meteor.methods({
var options = {
upsert: true
};
if (!serverSettings._id) {
delete serverSettings._id;
}
var callback = function(error, affected) {
if (error) {
throw new Meteor.Error('data-write', error);
}
console.log(Servers.findOne());
};
Servers.update(criteria, serverSettings, options, callback);