camel case for reddit labels and run values

This commit is contained in:
azivner
2018-04-04 22:29:11 -04:00
parent abfc64af95
commit cf7a336ac2
5 changed files with 9 additions and 3 deletions

View File

@@ -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 = [];

View File

@@ -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,

View File

@@ -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);