diff --git a/composer.json b/composer.json index 67ca04c..ffcf966 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "trendyminds/orbit-craft", "type": "craft-plugin", - "version": "1.0.1", + "version": "1.0.2", "license": "MIT", "authors": [ { diff --git a/src/console/controllers/SyncController.php b/src/console/controllers/SyncController.php index 782f0f9..2eb3241 100644 --- a/src/console/controllers/SyncController.php +++ b/src/console/controllers/SyncController.php @@ -47,7 +47,8 @@ public function actionIndex(): int 'drivers' => [], 'addons' => collect($addons)->map(function ($addon) use ($updates) { return [ - 'name' => $addon->packageName, + 'name' => $addon->name, + 'package' => $addon->packageName, 'version' => $addon->version, 'latest_version' => $updates->firstWhere('name', $addon->packageName)['latest_version'] ?? null, ];