Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chat.publishCreate() fails in sails v.0.12 #1

Open
metalaureate opened this issue Feb 8, 2016 · 1 comment
Open

Chat.publishCreate() fails in sails v.0.12 #1

metalaureate opened this issue Feb 8, 2016 · 1 comment

Comments

@metalaureate
Copy link

Thanks for this sails sockets tutorial. Not strictly your problem, but I wondered if you knew why:

Chat.publishCreate({id: data_from_client.id, message : data_from_client.message , user:data_from_client.user});

fails when I upgrade your project to sailsjs v.0.12. I've looked high and low for incompatibility information.

The stack trace shows the error in:

/Users/shill/Projects/socket-in-sails-master/node_modules/sails/lib/hooks/pubsub/index.js:1069
self.publishCreateSingle(values.toJSON(), req, options);

Thank you for any light you shed on this problem, and for your sockets tutorial.

@pranavrajs
Copy link
Member

@metalaureate Thanks for bringing this into notice. I'll check the code and update it to latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants