mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	renaming of sql methods to fit getRows/getEntities model
This commit is contained in:
		| @@ -10,7 +10,7 @@ const wrap = require('express-promise-wrap').wrap; | ||||
| router.get('', auth.checkAuth, wrap(async (req, res, next) => { | ||||
|     res.render('index', { | ||||
|         sourceId: await source_id.generateSourceId(), | ||||
|         maxSyncIdAtLoad: await sql.getFirstValue("SELECT MAX(id) FROM sync") | ||||
|         maxSyncIdAtLoad: await sql.getValue("SELECT MAX(id) FROM sync") | ||||
|     }); | ||||
| })); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user