mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Server: error if we add a pod that already exists
This commit is contained in:
parent
0d4fb7e6d4
commit
b09ce6455f
5 changed files with 41 additions and 12 deletions
|
@ -20,8 +20,8 @@ const router = express.Router()
|
|||
|
||||
router.get('/', listPods)
|
||||
router.post('/',
|
||||
podsMiddleware.setBodyHostPort, // We need to modify the host before running the validator!
|
||||
validators.podsAdd,
|
||||
podsMiddleware.setBodyHostPort,
|
||||
addPods
|
||||
)
|
||||
router.post('/makefriends',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue