Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Sockbase.prototype.onBlogPost = function(io, socket, msg){
- appbaseRef.index({
- type: 'pendingpost',
- body: msg
- }).on('data', function(response){
- console.log(response);
- }).on('error', function(error){
- console.log(error);
- });
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement