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:
parent
31cf2bc5ad
commit
2c659d1e51
21 changed files with 1021 additions and 437 deletions
|
@ -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;
|
Loading…
Add table
Add a link
Reference in a new issue