]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/controllers/api/plugins.ts
Add inspect to test script
[github/Chocobozzz/PeerTube.git] / server / controllers / api / plugins.ts
index 6b7562fd3162439b5a15d122d84fb43bcf85120b..f8a0d19ca519d550591709b5aa905b99db150d71 100644 (file)
@@ -191,6 +191,8 @@ async function updatePluginSettings (req: express.Request, res: express.Response
   plugin.settings = req.body.settings
   await plugin.save()
 
+  await PluginManager.Instance.onSettingsChanged(plugin.name, plugin.settings)
+
   return res.sendStatus(204)
 }