mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-06-30 18:11:52 +02:00
Add:Create playlist from a collection #1226
This commit is contained in:
@@ -123,7 +123,7 @@ class CollectionController {
|
||||
|
||||
middleware(req, res, next) {
|
||||
if (req.params.id) {
|
||||
var collection = this.db.collections.find(c => c.id === req.params.id)
|
||||
const collection = this.db.collections.find(c => c.id === req.params.id)
|
||||
if (!collection) {
|
||||
return res.status(404).send('Collection not found')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user