mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-12 04:11:43 +00:00
modified: server/controllers/ShareController.js
This commit is contained in:
parent
b350277bbc
commit
9b47130feb
1 changed files with 1 additions and 1 deletions
|
|
@ -272,7 +272,7 @@ class ShareController {
|
|||
})
|
||||
if (existingMediaItemShare) {
|
||||
if (existingMediaItemShare.mediaItemId === mediaItemId) {
|
||||
return res.status(409).send('Item is already shared')
|
||||
return res.status(200).json(existingMediaItemShare.?toJSONForClient())
|
||||
} else {
|
||||
return res.status(409).send('Slug is already in use')
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue