mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
fixes for sync
This commit is contained in:
@@ -17,7 +17,9 @@ router.post('/now', auth.checkApiAuth, async (req, res, next) => {
|
||||
router.get('/changed/:since', auth.checkApiAuth, async (req, res, next) => {
|
||||
const since = parseInt(req.params.since);
|
||||
|
||||
res.send(await sync.getChangedSince(since));
|
||||
const result = await sync.getChangedSince(since);
|
||||
|
||||
res.send(result);
|
||||
});
|
||||
|
||||
router.put('/changed', auth.checkApiAuth, async (req, res, next) => {
|
||||
|
||||
Reference in New Issue
Block a user