mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 15:55:52 +01:00
got rid of request context and related refactorings
This commit is contained in:
@@ -42,7 +42,7 @@ router.post('/sync', async (req, res, next) => {
|
||||
req.session.loggedIn = true;
|
||||
|
||||
res.send({
|
||||
sourceId: source_id.currentSourceId
|
||||
sourceId: await source_id.getCurrentSourceId()
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user