👬💐 Checkpoint

./server.js:7435365/130
This commit is contained in:
Glitch (hello-express) 2019-12-20 22:36:06 +00:00
parent 3e2ef29648
commit f7671afd7d
1 changed files with 5 additions and 1 deletions

View File

@ -85,7 +85,11 @@ app.get('/getdata', (req, res) => {
})
*/
Readings.findAll({
attributes: ['timestamp', 'reading']
}).then((result) => {
res.status(200).send(result).end();
})
});