mirror of
https://github.com/wassname/talk.git
synced 2026-08-14 12:50:17 +08:00
remove this route until someone is actually using it
This commit is contained in:
@@ -40,20 +40,6 @@ router.get('/', (req, res, next) => {
|
||||
|
||||
});
|
||||
|
||||
// get multiple assets with a comma-separated list of asset ids
|
||||
router.get('/multi', (req, res, next) => {
|
||||
const assetIds = req.query.ids.split(',');
|
||||
|
||||
Asset.findMultipleById(assetIds)
|
||||
.then(assets => {
|
||||
res.json(assets);
|
||||
})
|
||||
.catch(error => {
|
||||
error.status = 500;
|
||||
next(error);
|
||||
});
|
||||
});
|
||||
|
||||
// Get an asset by id.
|
||||
router.get('/:asset_id', (req, res, next) => {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user