Tweaked display of note cards, again

* Added an option to pin notes, on the main screen
This commit is contained in:
Max G
2020-03-02 05:33:49 +00:00
parent 2d0beec409
commit de3391eb94
6 changed files with 96 additions and 12 deletions

View File

@@ -62,6 +62,16 @@ router.post('/difftext', function (req, res) {
})
})
//
// Update single note attributes
//
router.post('/setpinned', function (req, res) {
Notes.setPinned(userId, req.body.noteId, req.body.pinned)
.then( results => {
res.send(results)
})
})
//
// Share Note Actions
//