Fix plugin update crashing after the rows are refreshed (#2598)
Co-authored-by: Lance Pioch <git@lance.sh>
This commit is contained in:
1 parent
f81f44a004
commit
8860a5c5e5
3 files changed
+64
-3
No files matched your search
@@ -122,7 +122,7 @@ class PluginController extends ApplicationApiController
|
||||
{
|
||||
throw_unless($plugin->isUpdateAvailable(), new PanelException("Plugin doesn't need updating"));
|
||||
|
||||
$this->pluginService->updatePlugin($plugin);
|
||||
$plugin = $this->pluginService->updatePlugin($plugin);
|
||||
|
||||
return $this->response->item($plugin)
|
||||
->transformWith(PluginData::class)
|
||||
|
||||
Reference in new issue
Block a user