mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 10:19:35 +02:00
Ensure to install supported plugins
This commit is contained in:
parent
90aa0a74e9
commit
8280d0c227
5 changed files with 30 additions and 10 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue