Adding everything to get started on cycle tracking and maybe avid habit clone

This commit is contained in:
Max G
2022-09-25 17:17:41 +00:00
parent 77cd95fdcb
commit b51e5ac0d0
19 changed files with 1727 additions and 333 deletions

View File

@@ -26,7 +26,7 @@ router.use(function setUserId (req, res, next) {
})
router.post('/search', function (req, res) {
Attachment.search(userId, req.body.noteId, req.body.attachmentType, req.body.offset, req.body.setSize)
Attachment.search(userId, req.body.noteId, req.body.attachmentType, req.body.offset, req.body.setSize, req.body.includeShared)
.then( data => res.send(data) )
})