mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-12 12:21:34 +00:00
restore other call to original
This commit is contained in:
parent
634298f5b7
commit
748541fb4e
1 changed files with 1 additions and 1 deletions
|
|
@ -306,7 +306,7 @@ class ShareController {
|
|||
})
|
||||
if (existingMediaItemShare) {
|
||||
if (existingMediaItemShare.mediaItemId === mediaItemId) {
|
||||
return res.status(200).json(existingMediaItemShare.?toJSONForClient())
|
||||
return res.status(409).send('Item is already shared')
|
||||
} else {
|
||||
return res.status(409).send('Slug is already in use')
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue