mirror of
https://github.com/zadam/trilium.git
synced 2025-11-14 17:25:52 +01:00
renamed db columns to camelCase
This commit is contained in:
@@ -3,13 +3,13 @@
|
||||
const express = require('express');
|
||||
const router = express.Router();
|
||||
const auth = require('../services/auth');
|
||||
const source_id = require('../services/source_id');
|
||||
const sourceId = require('../services/sourceId');
|
||||
const sql = require('../services/sql');
|
||||
const wrap = require('express-promise-wrap').wrap;
|
||||
|
||||
router.get('', auth.checkAuth, wrap(async (req, res, next) => {
|
||||
res.render('index', {
|
||||
sourceId: await source_id.generateSourceId(),
|
||||
sourceId: await sourceId.generateSourceId(),
|
||||
maxSyncIdAtLoad: await sql.getFirstValue("SELECT MAX(id) FROM sync")
|
||||
});
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user