Skip to content

Commit

Permalink
Send proper package name
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronbushnell committed Apr 10, 2024
1 parent 0696607 commit 622903b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "trendyminds/orbit-craft",
"type": "craft-plugin",
"version": "1.0.1",
"version": "1.0.2",
"license": "MIT",
"authors": [
{
Expand Down
3 changes: 2 additions & 1 deletion src/console/controllers/SyncController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
];
Expand Down

0 comments on commit 622903b

Please sign in to comment.