Add comment because things
This commit is contained in:
parent
a5ba2d2413
commit
d1011b69ba
1 changed files with 1 additions and 3 deletions
|
@ -38,10 +38,8 @@ const configureRoutes = (app) => {
|
|||
|
||||
app.get("/updateMarkers", (req, res) => {
|
||||
const data = req.query;
|
||||
|
||||
console.log(data.fromDate)
|
||||
console.log()
|
||||
|
||||
// data.fromDate comes as a string so we need to parse it before creating a date object based on it
|
||||
dbHandler.getUpdatedMarkers(new Date(Number(data.fromDate)), (rows) => {
|
||||
res.status(200).json(rows);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue