Update server/controllers/LibraryItemController.js

Co-authored-by: advplyr <67830747+advplyr@users.noreply.github.com>
This commit is contained in:
Undergrid 2022-09-24 23:38:18 +01:00 committed by GitHub
parent f3f2d614b1
commit 62c59c634c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -321,7 +321,7 @@ class LibraryItemController {
if (!items || !items.length) {
return res.sendStatus(500)
}
res.sendStatus(200);
res.sendStatus(200)
for (let i = 0; i < items.length; i++) {
var libraryItem = this.db.libraryItems.find(_li => _li.id === items[i])