mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 08:15:52 +01:00
camel case for reddit labels and run values
This commit is contained in:
@@ -19,7 +19,7 @@ async function run(req) {
|
||||
}
|
||||
|
||||
async function getStartupBundles(req) {
|
||||
const notes = await labelService.getNotesWithLabel("run", "frontend_startup");
|
||||
const notes = await labelService.getNotesWithLabel("run", "frontendStartup");
|
||||
|
||||
const bundles = [];
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
const build = require('./build');
|
||||
const packageJson = require('../../package');
|
||||
|
||||
const APP_DB_VERSION = 83;
|
||||
const APP_DB_VERSION = 85;
|
||||
|
||||
module.exports = {
|
||||
app_version: packageJson.version,
|
||||
|
||||
@@ -19,7 +19,7 @@ async function runNotesWithLabel(runAttrValue) {
|
||||
}
|
||||
}
|
||||
|
||||
setTimeout(() => cls.wrap(() => runNotesWithLabel('backend_startup')), 10 * 1000);
|
||||
setTimeout(() => cls.wrap(() => runNotesWithLabel('backendStartup')), 10 * 1000);
|
||||
|
||||
setInterval(() => cls.wrap(() => runNotesWithLabel('hourly')), 3600 * 1000);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user