]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/controllers/api/plugins.ts
Add server API actors route
[github/Chocobozzz/PeerTube.git] / server / controllers / api / plugins.ts
index bb69f25a1eafbdae809a46f618eb05b0105a88be..a186de0102fd9e9fa7254e601c467d7db8628486 100644 (file)
@@ -151,7 +151,7 @@ async function updatePlugin (req: express.Request, res: express.Response) {
   const fromDisk = !!body.path
   const toUpdate = body.npmName || body.path
   try {
-    const plugin = await PluginManager.Instance.update(toUpdate, undefined, fromDisk)
+    const plugin = await PluginManager.Instance.update(toUpdate, fromDisk)
 
     return res.json(plugin.toFormattedJSON())
   } catch (err) {