Closed IamCarbonMan closed 7 years ago
I have a method that returns an EJSON array (which is returned by a Cursor.fetch() call), which works like so:
Cursor.fetch()
Meteor.call("search", {}, console.log)
but does not work like so:
MeteorObservable.call("card_search", {}).subscribe(console.log)
In the first example, an Array is logged to the console, in the second, the console shows undefined.
undefined
Can you please share a sample repository showing the issue?
Closing because I couldn't seem to reproduce the issue once I created a simple example.
I have a method that returns an EJSON array (which is returned by a
Cursor.fetch()
call), which works like so:but does not work like so:
In the first example, an Array is logged to the console, in the second, the console shows
undefined
.