Skip to content

Commit

Permalink
update to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
Joerg Roth committed Jun 18, 2024
1 parent 8e1eca3 commit ab30fe8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ module.exports = function(options) {
leylines.createArrow(req, res, pool);
});

router.get('/createGrid/:latitude/:longitude/:bearing/:category/:solid/:type', function(req, res) {
router.get('/createGrid/:latitude/:longitude/:bearing/:form/:category/:solid/:type', function(req, res) {
leylines.createGrid(req, res, pool);
});

Expand Down
3 changes: 2 additions & 1 deletion lib/leylines.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ exports.createGrid = async function(req, res, pool) {
var longitude = req.params.longitude;
var bearing = req.params.bearing;

var form = req.params.form;
var category = req.params.category;
var solid = req.params.solid;
var type = req.params.type;
Expand Down Expand Up @@ -175,7 +176,7 @@ exports.createGrid = async function(req, res, pool) {

// if (category == "beckerhagens") {
//points = await solids_orig.getPoints(latitude, longitude, bearing, type, solids[category][type]['points']);
points = await leylinesSolids.getPoints(latitude, longitude, bearing, solid, solids['points']);
points = await leylinesSolids.getPoints(latitude, longitude, bearing, form, solids['points']);
// } else {
// points = await solids.getPoints(latitude, longitude, bearing, type, solids[category]['basic'][type]);
// }
Expand Down

0 comments on commit ab30fe8

Please sign in to comment.