Remove TinyMce Added Squire

This commit is contained in:
Max G committed 2020-02-01 22:21:22 +00:00
1 parent 68effaa5c3
commit 133a86e09e
91 files changed
+6538 -10672

No files matched your search

+10
View File
@@ -22,6 +22,11 @@ router.post('/search', function (req, res) {
.then( data => res.send(data) )
})
router.post('/textsearch', function (req, res) {
Attachment.textSearch(userId, req.body.searchTerm)
.then( data => res.send(data) )
})
router.post('/get', function (req, res) {
Attachment.forNote(userId, req.body.noteId)
.then( data => res.send(data) )
@@ -35,6 +40,11 @@ router.post('/update', function (req, res) {
})
})
router.post('/delete', function (req, res) {
Attachment.delete(userId, req.body.attachmentId)
.then( data => res.send(data) )
})
router.post('/upload', upload.single('file'), function (req, res, next) {
//Create attachment with file information and node id