Merge branch 'master' into watcher-update-api

This commit is contained in:
advplyr 2023-10-26 16:33:48 -05:00
commit 3bccd52196
21 changed files with 156 additions and 45 deletions

View file

@ -621,7 +621,7 @@ class LibraryController {
model: Database.bookModel,
attributes: ['id', 'tags', 'explicit'],
where: bookWhere,
required: false,
required: !req.user.isAdminOrUp, // Only show authors with 0 books for admin users or up
through: {
attributes: []
}