diff --git a/controllers/gddController.js b/controllers/gddController.js index b47fe7d821db7274603309fdb2a11c21c61cd94c..f0d9bd02567fdafbe022a5298147988fcf0f920b 100644 --- a/controllers/gddController.js +++ b/controllers/gddController.js @@ -39,7 +39,6 @@ function find(collection, query, projection, temps, res) { exports.year_gdd = function (req, res) { - console.log(req.params) var year = parseInt(req.params.year); var product = req.params.product; @@ -84,7 +83,6 @@ exports.year_gdd = function (req, res) { t_min = t_base; } } else { - console.log(product) out = utils.product_base_switch(product, errors, t_base, t_min); t_base = out.t_base; t_min = out.t_min; diff --git a/lib/utils.js b/lib/utils.js index e12f12b45ad105dd2830b0a7349b5cbe1c336292..45ec42631fb2df0b1131dc9c0be6c258da56fa6e 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -1,6 +1,5 @@ function product_base_switch(product, errors, t_base, t_min) { - console.log(product) switch (product) { case "soybean": case "corn":