Skip to content

Commit

Permalink
Merge pull request #235 from tidepool-org/jebeck/bugfix2-bayer-regres…
Browse files Browse the repository at this point in the history
…sion

just parse the string into an integer and all is well
  • Loading branch information
jebeck committed Feb 12, 2016
2 parents 7e538eb + ad9fe1f commit 0943f96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/drivers/bayerContourNext.js
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ module.exports = function (config) {
}, 20);
}

async.timesSeries(data.nrecs, getOneRecordWithProgress, function(err, result) {
async.timesSeries(parseInt(data.nrecs, 10), getOneRecordWithProgress, function(err, result) {
if (err) {
debug('fetchData failed');
debug(err);
Expand Down

0 comments on commit 0943f96

Please sign in to comment.