diff options
Diffstat (limited to 'server/controllers')
-rw-r--r-- | server/controllers/api/plugins.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/plugins.ts b/server/controllers/api/plugins.ts index bb69f25a1..a186de010 100644 --- a/server/controllers/api/plugins.ts +++ b/server/controllers/api/plugins.ts | |||
@@ -151,7 +151,7 @@ async function updatePlugin (req: express.Request, res: express.Response) { | |||
151 | const fromDisk = !!body.path | 151 | const fromDisk = !!body.path |
152 | const toUpdate = body.npmName || body.path | 152 | const toUpdate = body.npmName || body.path |
153 | try { | 153 | try { |
154 | const plugin = await PluginManager.Instance.update(toUpdate, undefined, fromDisk) | 154 | const plugin = await PluginManager.Instance.update(toUpdate, fromDisk) |
155 | 155 | ||
156 | return res.json(plugin.toFormattedJSON()) | 156 | return res.json(plugin.toFormattedJSON()) |
157 | } catch (err) { | 157 | } catch (err) { |