mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-12-01 20:54:06 +01:00
Update:M4b Merge tool moved to manage page
This commit is contained in:
1 parent
d456ec2786
commit
441b8c5bb7
6 files changed
+213
-287
No files matched your search
@@ -84,8 +84,8 @@ class MiscController {
|
||||
|
||||
// GET: api/audiobook-merge/:id
|
||||
async mergeAudiobook(req, res) {
|
||||
if (!req.user.canDownload) {
|
||||
Logger.error('User attempting to download without permission', req.user)
|
||||
if (!req.user.isAdminOrUp) {
|
||||
Logger.error('[MiscController] mergeAudiobook: Non-admin user attempting to make m4b', req.user)
|
||||
return res.sendStatus(403)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user