Skip to content

Commit

Permalink
added return empty
Browse files Browse the repository at this point in the history
  • Loading branch information
iros committed Nov 11, 2014
1 parent 06ffe10 commit c6bc1ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ module.exports = function( ss_key, auth_id ){
if (opts.maxRow) query["max-row"] = opts.maxRow;
if (opts.minCol) query["min-col"] = opts.minCol;
if (opts.maxCol) query["max-col"] = opts.maxCol;
if (opts.returnEmpty) query["return-empty"] = opts.returnEmpty;

self.makeFeedRequest(["cells", ss_key, worksheet_id], 'GET', query, function (err, data, xml) {
if (err) return cb(err);
Expand Down Expand Up @@ -162,7 +163,7 @@ module.exports = function( ss_key, auth_id ){

if ( method == 'GET' && query_or_data ) {
url += "?" + querystring.stringify( query_or_data );
}
}

request( {
url: url,
Expand Down

0 comments on commit c6bc1ea

Please sign in to comment.