Skip to content

Commit

Permalink
don't map points
Browse files Browse the repository at this point in the history
  • Loading branch information
birm committed May 3, 2024
1 parent f0ed6ab commit d70bb6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/dataHandlers.js
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ Mark.pointList = function(req, res, next) {
var points = [];

mongoDB.find("camic", 'mark', query, false ,{ x: 1, y: 1, _id: 0 }).then((points) => {

Check failure on line 356 in handlers/dataHandlers.js

View workflow job for this annotation

GitHub Actions / build (18.x)

Multiple spaces found before 'false'

Check failure on line 356 in handlers/dataHandlers.js

View workflow job for this annotation

GitHub Actions / build (18.x)

There should be no space before ','

Check failure on line 356 in handlers/dataHandlers.js

View workflow job for this annotation

GitHub Actions / build (18.x)

A space is required after ','

Check failure on line 356 in handlers/dataHandlers.js

View workflow job for this annotation

GitHub Actions / build (18.x)

There should be no space after '{'

Check failure on line 356 in handlers/dataHandlers.js

View workflow job for this annotation

GitHub Actions / build (18.x)

There should be no space before '}'

Check failure on line 356 in handlers/dataHandlers.js

View workflow job for this annotation

GitHub Actions / build (20.x)

Multiple spaces found before 'false'

Check failure on line 356 in handlers/dataHandlers.js

View workflow job for this annotation

GitHub Actions / build (20.x)

There should be no space before ','

Check failure on line 356 in handlers/dataHandlers.js

View workflow job for this annotation

GitHub Actions / build (20.x)

A space is required after ','

Check failure on line 356 in handlers/dataHandlers.js

View workflow job for this annotation

GitHub Actions / build (20.x)

There should be no space after '{'

Check failure on line 356 in handlers/dataHandlers.js

View workflow job for this annotation

GitHub Actions / build (20.x)

There should be no space before '}'
req.data = { points: points.map(point => [point.x, point.y]) };
req.data = points;
next();
}).catch((e) => next(e));
};
Expand Down

0 comments on commit d70bb6b

Please sign in to comment.