mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-30 04:25:03 +02:00
Update jsdocs
This commit is contained in:
parent
09bcc1191f
commit
903b685e1a
3 changed files with 37 additions and 19 deletions
|
@ -1,6 +1,6 @@
|
|||
const { Op } = require('sequelize')
|
||||
const Logger = require('../Logger')
|
||||
const Database = require('../Database')
|
||||
const { Op } = require('sequelize')
|
||||
|
||||
const ShareManager = require('../managers/ShareManager')
|
||||
|
||||
|
@ -34,6 +34,7 @@ class ShareController {
|
|||
if (!mediaItemShare.mediaItem) {
|
||||
return res.status(404).send('Media item not found')
|
||||
}
|
||||
|
||||
res.json(mediaItemShare)
|
||||
} catch (error) {
|
||||
Logger.error(`[ShareController] Failed`, error)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue