CartoDB / cartodb-nodejs

Node.js package for easy access to CartoDB's APIs
BSD 4-Clause "Original" or "Old" License
46 stars 34 forks source link

README example correction #14

Closed mphasize closed 11 years ago

mphasize commented 11 years ago

README.md lines 40-43 says:

client.on('data', function(data) {
    console.log(results.rows);
});

And results are undefined. It should be:

client.on('data', function(data) {
    console.log(data.rows);
});

Cheers!

javisantana commented 11 years ago

fixed, many thanks