1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-08-04 18:35:17 +02:00

Bookmark import.

This commit is contained in:
Jackson D 2022-02-06 08:21:01 -05:00
parent 1fff824957
commit 1aedb87bf4
17 changed files with 327 additions and 8 deletions

View file

@ -15,13 +15,13 @@ const {
router
.route('/')
.post(auth, requireAuth, upload, createApp)
.post(auth, requireAuth, upload.icon, createApp)
.get(auth, getAllApps);
router
.route('/:id')
.get(auth, getSingleApp)
.put(auth, requireAuth, upload, updateApp)
.put(auth, requireAuth, upload.icon, updateApp)
.delete(auth, requireAuth, deleteApp);
router.route('/0/reorder').put(auth, requireAuth, reorderApps);