]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/controllers/static.ts
Add pagination to account video channels endpoint
[github/Chocobozzz/PeerTube.git] / server / controllers / static.ts
index 05019fcc2139b9c7f9706b8b7e74652aa3e71d9b..d57dba6ce24eae3f0ee07b56d7d80b95eb0c65e8 100644 (file)
@@ -181,7 +181,7 @@ async function getVideoCaption (req: express.Request, res: express.Response) {
   return res.sendFile(result.path, { maxAge: STATIC_MAX_AGE })
 }
 
-async function generateNodeinfo (req: express.Request, res: express.Response, next: express.NextFunction) {
+async function generateNodeinfo (req: express.Request, res: express.Response) {
   const { totalVideos } = await VideoModel.getStats()
   const { totalLocalVideoComments } = await VideoCommentModel.getStats()
   const { totalUsers } = await UserModel.getStats()