Skip to content

Commit 3fe9d8d

Browse files
authored
feat(check-ins): add support for slug (#114)
1 parent 531ce45 commit 3fe9d8d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
],
2323
"require": {
2424
"php": "^7.2|^8.0",
25-
"honeybadger-io/honeybadger-php": "^2.16.0",
25+
"honeybadger-io/honeybadger-php": "^2.17.0",
2626
"sixlive/dotenv-editor": "^1.1|^2.0",
2727
"illuminate/console": "^7.0|^8.0|^9.0|^10.0",
2828
"illuminate/support": "^7.0|^8.0|^9.0|^10.0",

src/Commands/HoneybadgerCheckinsSyncCommand.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,13 @@ public function handle(SyncCheckins $checkinsManager)
3131
$localCheckins = config('honeybadger.checkins', []);
3232
$result = $checkinsManager->sync($localCheckins);
3333
$this->info('Checkins were synchronized with Honeybadger.');
34-
$this->table(['Id', 'Name', 'Schedule Type', 'Cron Schedule', 'Cron Timezone', 'Grace Period', 'Status'], array_map(function ($checkin) {
34+
$this->table(['Id', 'Name', 'Slug', 'Schedule Type', 'Report Period', 'Cron Schedule', 'Cron Timezone', 'Grace Period', 'Status'], array_map(function ($checkin) {
3535
return [
3636
$checkin->id,
3737
$checkin->name,
38+
$checkin->slug,
3839
$checkin->scheduleType,
40+
$checkin->reportPeriod,
3941
$checkin->cronSchedule,
4042
$checkin->cronTimezone,
4143
$checkin->gracePeriod,

0 commit comments

Comments
 (0)