Skip to content

Commit

Permalink
integer based 10k
Browse files Browse the repository at this point in the history
  • Loading branch information
birm committed May 3, 2024
1 parent ecfb8dd commit 5f1b35f
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: points.map(point => [Math.round(point.x* 10000), Math.round(point.y* 10000)]) };

Check failure on line 357 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 357 in handlers/dataHandlers.js

View workflow job for this annotation

GitHub Actions / build (18.x)

Expected parentheses around arrow function argument

Check failure on line 357 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 357 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 357 in handlers/dataHandlers.js

View workflow job for this annotation

GitHub Actions / build (20.x)

Expected parentheses around arrow function argument

Check failure on line 357 in handlers/dataHandlers.js

View workflow job for this annotation

GitHub Actions / build (20.x)

There should be no space before '}'
next();
}).catch((e) => next(e));
};
Expand Down

0 comments on commit 5f1b35f

Please sign in to comment.