Update:M4b Merge tool moved to manage page

This commit is contained in:
advplyr committed 2022-10-02 11:53:53 -05:00
1 parent d456ec2786
commit 441b8c5bb7
6 files changed
+213 -287

No files matched your search

+2 -2
View File
@@ -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)
}