LT-67 Storing the activeServer in user's profile
This commit is contained in:
1 parent
1ca585bfb0
commit
9bf96f24d7
6 files changed
+56
-19
No files matched your search
+1
-1
@@ -19,7 +19,7 @@ Template.serverInformationForm.events({
|
||||
submit: function(event, instance) {
|
||||
event.preventDefault();
|
||||
var formData = FormUtils.getFormData(instance.data.$form);
|
||||
Meteor.call('saveServer', formData, function(error) {
|
||||
Meteor.call('serverSave', formData, function(error) {
|
||||
if (error) {
|
||||
// TODO: check for errors: not-authorized, data-write
|
||||
console.log('>>>>ERROR', error);
|
||||
|
||||
Reference in new issue
Block a user