cleanup of labels and relations from backend

This commit is contained in:
azivner
2018-08-07 13:33:10 +02:00
parent 3491235533
commit 1c0fd243d1
19 changed files with 107 additions and 419 deletions

View File

@@ -2,7 +2,7 @@
const sourceIdService = require('../services/source_id');
const sql = require('../services/sql');
const labelService = require('../services/labels');
const attributeService = require('../services/attributes');
const config = require('../services/config');
const optionService = require('../services/options');
@@ -18,7 +18,7 @@ async function index(req, res) {
async function getAppCss() {
let css = '';
const notes = labelService.getNotesWithLabel('appCss');
const notes = attributeService.getNotesWithLabel('appCss');
for (const note of await notes) {
css += `/* ${note.noteId} */