mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-12 08:29:05 +02:00
Update:Quick match all for library to use task instead of toast, remove scan socket events
This commit is contained in:
@ -775,6 +775,13 @@ class LibraryController {
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* GET: /api/libraries/:id/matchall
|
||||
* Quick match all library items. Book libraries only.
|
||||
*
|
||||
* @param {import('express').Request} req
|
||||
* @param {import('express').Response} res
|
||||
*/
|
||||
async matchAll(req, res) {
|
||||
if (!req.user.isAdminOrUp) {
|
||||
Logger.error(`[LibraryController] Non-root user attempted to match library items`, req.user)
|
||||
|
Reference in New Issue
Block a user