jpillora / node-edit-google-spreadsheet

A simple API for editing Google Spreadsheets
304 stars 101 forks source link

getValues option not getting passed correctly to util.gcell2cell (spreadsheet.js: 510) #78

Open matterantimatter opened 9 years ago

matterantimatter commented 9 years ago

this line in spreadsheet.js (510): rows[r][c] = util.gcell2cell(cell, options.getValues, _this.opts.useCellTextValues);

the second parameter should be: _this.opts.getValues

corrected line: rows[r][c] = util.gcell2cell(cell, _this.opts.getValues, _this.opts.useCellTextValues);

I love this module. Thanks!