mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Refractor validators
This commit is contained in:
parent
fcaf1e0aa8
commit
a2431b7dcb
33 changed files with 478 additions and 643 deletions
|
@ -41,7 +41,7 @@ serverFollowsRouter.post('/following',
|
|||
serverFollowsRouter.delete('/following/:accountId',
|
||||
authenticate,
|
||||
ensureUserHasRight(UserRight.MANAGE_SERVER_FOLLOW),
|
||||
removeFollowingValidator,
|
||||
asyncMiddleware(removeFollowingValidator),
|
||||
asyncMiddleware(removeFollow)
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue