mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-10 19:31:39 +00:00
Fix comment for upload
This commit is contained in:
parent
184858efae
commit
3233017759
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ class MiscController {
|
|||
return res.status(404).send(`Library not found with id ${libraryId}`)
|
||||
}
|
||||
const folder = await Database.libraryFolderModel.findByPk(folderId)
|
||||
// Verify the folder matches the library ID so we don't accidentally add a podcast to the wrong path
|
||||
// Verify the folder matches the library ID so we don't accidentally upload to the wrong library
|
||||
if (!folder || folder.libraryId !== library.id) {
|
||||
return res.status(404).send(`Folder not found with id ${folderId} in library ${library.name}`)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue