Skip to content

Commit b67f808

Browse files
committed
Fixed fieldname
1 parent ad69447 commit b67f808

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Console/Commands/SendExpirationAlerts.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function handle()
7373

7474
$this->table(
7575
['ID', 'Name', 'Expires', 'Termination Date'],
76-
$licenses->map(fn($item) => ['ID' => $item->name, 'Name' => $item->name, 'Expires' => $item->expiration_date, 'Termination Date' => $item->termination_date])
76+
$licenses->map(fn($item) => ['ID' => $item->id, 'Name' => $item->name, 'Expires' => $item->expiration_date, 'Termination Date' => $item->termination_date])
7777
);
7878
}
7979

0 commit comments

Comments
 (0)