From 5c74c0f248b9af5d70c7668cf27a32ca14b0b4c5 Mon Sep 17 00:00:00 2001
From: tuckersiegel <siegel.tucker@gmail.com>
Date: Mon, 1 Mar 2021 12:38:38 -0500
Subject: [PATCH] remove console logs

---
 controllers/gddController.js | 2 --
 lib/utils.js                 | 1 -
 2 files changed, 3 deletions(-)

diff --git a/controllers/gddController.js b/controllers/gddController.js
index b47fe7d..f0d9bd0 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 e12f12b..45ec426 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":
-- 
GitLab