mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-27 11:19:30 +02:00
Update:M4b Merge tool moved to manage page
This commit is contained in:
parent
d456ec2786
commit
441b8c5bb7
6 changed files with 213 additions and 287 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue