1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-07-19 11:39:36 +02:00

Apps reordering. Sorting apps while adding them

This commit is contained in:
unknown 2021-06-15 16:02:57 +02:00
parent 9a1ec76ffd
commit ce173f2c42
12 changed files with 219 additions and 53 deletions

View file

@ -6,7 +6,8 @@ const {
getApps,
getApp,
updateApp,
deleteApp
deleteApp,
reorderApps
} = require('../controllers/apps');
router
@ -20,4 +21,8 @@ router
.put(updateApp)
.delete(deleteApp);
router
.route('/0/reorder')
.put(reorderApps);
module.exports = router;