Add comment because things

This commit is contained in:
0d0acre 2024-09-21 01:32:23 +02:00
parent a5ba2d2413
commit d1011b69ba

View file

@ -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);
});