Skip to content

Commit

Permalink
need db
Browse files Browse the repository at this point in the history
  • Loading branch information
birm committed May 3, 2024
1 parent cae45b3 commit d61f46e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions handlers/dataHandlers.js
Original file line number Diff line number Diff line change
Expand Up @@ -348,11 +348,11 @@ Mark.updateMarksLabel = function(req, res, next) {

Mark.pointList = function(req, res, next) {
var query = req.query;

Check failure on line 350 in handlers/dataHandlers.js

View workflow job for this annotation

GitHub Actions / build (20.x)

Expected indentation of 2 spaces but found 4
mongoDB.find(db, 'mark', query, { x: 1, y: 1, _id: 0 }).toArray().then((points) => {
mongoDB.find("camic", 'mark', query, { x: 1, y: 1, _id: 0 }).toArray().then((points) => {

Check failure on line 351 in handlers/dataHandlers.js

View workflow job for this annotation

GitHub Actions / build (20.x)

Expected indentation of 2 spaces but found 4

Check failure on line 351 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 351 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]) };

Check failure on line 352 in handlers/dataHandlers.js

View workflow job for this annotation

GitHub Actions / build (20.x)

Expected indentation of 4 spaces but found 6

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

View workflow job for this annotation

GitHub Actions / build (20.x)

There should be no space before '}'
next();

Check failure on line 353 in handlers/dataHandlers.js

View workflow job for this annotation

GitHub Actions / build (20.x)

Expected indentation of 4 spaces but found 6
}).catch((e) => next(e));
};
};


var Heatmap = {};
Expand Down

0 comments on commit d61f46e

Please sign in to comment.