From d310dcffb03d6707587306c36888425f91913dcd Mon Sep 17 00:00:00 2001 From: Tucker Siegel <siegel.tucker@gmail.com> Date: Sun, 21 Feb 2021 18:55:16 -0500 Subject: [PATCH] missing close bracket --- gddController.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gddController.js b/gddController.js index bc92c74..63dea02 100644 --- a/gddController.js +++ b/gddController.js @@ -1,4 +1,4 @@ -Gdd = require('./model'); +Gdd = require('./model.js'); exports.year_gdd = function (req, res) { var year = parseInt(req.params.year) @@ -42,6 +42,7 @@ exports.year_gdd = function (req, res) { parameter_error: "latitude", message: latitude.toString() + " is out of bounds for GDD calculations. Must be between 24.083334 - 49.916668" }); + } if (req.body.hasOwnProperty("t_base")) { t_base = parseFloat(req.body.t_base); -- GitLab