keep trying

Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
This commit is contained in:
2026-07-12 14:49:08 +08:00
parent d0a64a8043
commit e5e2580c7d
5 changed files with 116 additions and 48 deletions
+1
View File
@@ -16,6 +16,7 @@ router.patch('/bulk-restore', controller.restoreAssets);
// ─── Collection ───────────────────────────────────────────────────────────────
router.get('/', controller.getAssets);
router.post('/', upload.fields([{ name: 'file', maxCount: 1 }, { name: 'thumbnail', maxCount: 1 }]), controller.uploadAsset);
router.post('/batch', upload.array('files', 20), controller.uploadAssetsBatch);
// ─── Dynamic routes last ──────────────────────────────────────────────────────
router.get('/:assetId', controller.getAsset);