These are chat archives for reactioncommerce/reaction

11th
Apr 2015
Goutham Veeramachaneni
@gouthamve
Apr 11 2015 08:29
Always returns true (for debugging)
I cant use the settings of the package on the client side and the return value of the server side call is not being detected on the client side.
Aaron Judd
@aaronjudd
Apr 11 2015 18:12
@Gouthamve use package.settings.public for client exposed variables

See: http://docs.meteor.com/#/full/meteor_call

On the client, if you do not pass a callback and you are not inside a stub, call will return undefined, and you will have no way to get the return value of the method. That is because the client doesn't have fibers, so there is not actually any way it can block on the remote execution of a method.

Goutham Veeramachaneni
@gouthamve
Apr 11 2015 21:14
Thanks a lot Aaron! I finally pushed the restrict by ZipCode functionality with import from g-sheets. :)