Hi I tried to call reactive-method with the new way of defining methods using mdg:validated-method however it returns undefined. How can I use this with the new way of defining methods?
Template.foo.helpers({
methodResult: function () {
return ReactiveMethod.call("myMethod", "a", "b"); // returns undefined but with reactiveMethod.call returns well
}
});
Hi I tried to call reactive-method with the new way of defining methods using mdg:validated-method however it returns undefined. How can I use this with the new way of defining methods?
Template.foo.helpers({ methodResult: function () { return ReactiveMethod.call("myMethod", "a", "b"); // returns undefined but with reactiveMethod.call returns well } });