* Removed unused get note diff function. It doesn't work because everything is encrypted now

* Added a script to sync down the prod database and files to dev
This commit is contained in:
Max G
2020-10-10 21:27:52 +00:00
parent 941d21d9cb
commit c7e342be4d
6 changed files with 62 additions and 85 deletions

View File

@@ -60,14 +60,6 @@ router.post('/search', function (req, res) {
})
})
router.post('/difftext', function (req, res) {
Note.getDiffText(userId, req.body.noteId, req.body.text, req.body.updated)
.then( fullDiffText => {
//Response should be full diff text
res.send(fullDiffText)
})
})
router.post('/reindex', function (req, res) {
Note.reindex(userId, masterKey)
.then( data => {