Subscribe to appwrite updates; hot-reload table
This commit is contained in:
@@ -28,7 +28,7 @@ app.get('/database', (req, res) => {
|
||||
})
|
||||
|
||||
app.get('/entry/:date', (req, res) => {
|
||||
var date = strftime("%x", new Date(req.params['date']) );
|
||||
var date = new Date(req.params['date']).toISOString().replace(/T.*/,"");
|
||||
console.log("Fetching entry for " + date);
|
||||
|
||||
const promise = databases.listDocuments('lifetracker-db', 'ryan');
|
||||
|
||||
Reference in New Issue
Block a user