aboutsummaryrefslogtreecommitdiffstats
path: root/models/NoteList.js
diff options
context:
space:
mode:
Diffstat (limited to 'models/NoteList.js')
-rw-r--r--models/NoteList.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/NoteList.js b/models/NoteList.js
index 159364f..bf7b155 100644
--- a/models/NoteList.js
+++ b/models/NoteList.js
@@ -1,4 +1,4 @@
-const {encrypt, decrypt} = require('lib/crypt')
+const {encrypt, decrypt} = require('helpers/crypt')
const mongoose = require("mongoose")
const decryptTitles = l => ({notes: l.notes.map(n => ({ ...n, title: decrypt(n.title)}))})