1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-08-05 10:55:17 +02:00

add bookmark sorting (#3)

This commit is contained in:
François Darveau 2021-06-26 16:22:54 -04:00 committed by François Darveau
parent 31cf2bc5ad
commit 2c659d1e51
21 changed files with 1021 additions and 437 deletions

View file

@ -7,7 +7,8 @@ const {
getBookmarks,
getBookmark,
updateBookmark,
deleteBookmark
deleteBookmark,
reorderBookmarks
} = require('../controllers/bookmark');
router
@ -21,4 +22,8 @@ router
.put(upload, updateBookmark)
.delete(deleteBookmark);
router
.route('/0/reorder')
.put(reorderBookmarks);
module.exports = router;