renamed noteCache into becca

This commit is contained in:
zadam
2021-04-16 23:00:08 +02:00
parent af5b1021c7
commit f7e86c5be0
36 changed files with 199 additions and 199 deletions

View File

@@ -1,5 +1,5 @@
const sql = require('../../services/sql');
const noteCache = require('../../services/note_cache/note_cache');
const becca = require('../../services/note_cache/note_cache');
function getNoteSize(req) {
const {noteId} = req.params;
@@ -23,7 +23,7 @@ function getNoteSize(req) {
function getSubtreeSize(req) {
const {noteId} = req.params;
const note = noteCache.notes[noteId];
const note = becca.notes[noteId];
if (!note) {
return [404, `Note ${noteId} was not found.`];