1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 02:39:33 +02:00

chore: fix some comments

Signed-off-by: soonsouth <cuibuwei@163.com>
This commit is contained in:
soonsouth 2024-03-16 00:01:14 +08:00 committed by Chocobozzz
parent 1048d1054b
commit 01af40a55f
4 changed files with 6 additions and 6 deletions

View file

@ -75,13 +75,13 @@ export function setupUploadResumableRoutes (options: {
...uploadInitBeforeMiddlewares,
resumableInitValidator,
...uploadInitAfterMiddlewares,
(req, res) => uploadx.upload(req, res) // Prevent next() call, explicitely tell to uploadx it's the end
(req, res) => uploadx.upload(req, res) // Prevent next() call, explicitly tell to uploadx it's the end
)
router.delete(routePath,
authenticate,
...uploadDeleteMiddlewares,
(req, res) => uploadx.upload(req, res) // Prevent next() call, explicitely tell to uploadx it's the end
(req, res) => uploadx.upload(req, res) // Prevent next() call, explicitly tell to uploadx it's the end
)
router.put(routePath,