weiter gehts

This commit is contained in:
rxf
2023-05-01 18:49:46 +02:00
parent 32bf325a68
commit 0e6563bc4e
3 changed files with 61 additions and 19 deletions

View File

@@ -10,7 +10,7 @@ router.get('/', function(req, res, next) {
router.get('/data', async function(req, res, next) {
const options = {}
options.curdate = req.query.curdate
let erg = await domongo.doMongo('getdata', options)
let erg = await domongo.doMongo('getlastdata', options)
res.json(erg)
})