You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
250 B

let db = require("../config/db.js");
module.exports = {
getPolygons : function (res) {
db.get().query("", function(err, rows){
if (err) return res.send(400);
res.send(rows);
return;
});
}
}