Removed unecessary calculate are function call that was causing an error
This commit is contained in:
@@ -5,7 +5,6 @@ let areaFunctions = require("./areaFunctions.js");
|
||||
|
||||
module.exports = {
|
||||
getPolygons : function (req, res) {
|
||||
mathFunc.calculateArea([]);
|
||||
if (req.query.gameID != null) {
|
||||
let query = "CALL getPolygonPoints(\"" + req.query.gameID + "\");";
|
||||
db.get().query(query, function(err, rows){
|
||||
|
||||
Reference in New Issue
Block a user