aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/plugins.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-03-09 09:58:08 +0100
committerChocobozzz <me@florianbigard.com>2021-03-24 18:18:40 +0100
commitb329abc2f00628f8c6814d304df6faad301d216c (patch)
tree733baa9746c0cc8497f66f71e14e7478a773ae88 /server/controllers/api/plugins.ts
parent18b24b2dc5a21007f62b2e625d50b1f4b7dec784 (diff)
downloadPeerTube-b329abc2f00628f8c6814d304df6faad301d216c.tar.gz
PeerTube-b329abc2f00628f8c6814d304df6faad301d216c.tar.zst
PeerTube-b329abc2f00628f8c6814d304df6faad301d216c.zip
Fix request body limit
Diffstat (limited to 'server/controllers/api/plugins.ts')
-rw-r--r--server/controllers/api/plugins.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/server/controllers/api/plugins.ts b/server/controllers/api/plugins.ts
index 1c0b5edb1..bb69f25a1 100644
--- a/server/controllers/api/plugins.ts
+++ b/server/controllers/api/plugins.ts
@@ -205,7 +205,6 @@ async function listAvailablePlugins (req: express.Request, res: express.Response
205 if (!resultList) { 205 if (!resultList) {
206 return res.status(HttpStatusCode.SERVICE_UNAVAILABLE_503) 206 return res.status(HttpStatusCode.SERVICE_UNAVAILABLE_503)
207 .json({ error: 'Plugin index unavailable. Please retry later' }) 207 .json({ error: 'Plugin index unavailable. Please retry later' })
208 .end()
209 } 208 }
210 209
211 return res.json(resultList) 210 return res.json(resultList)