From 4550b2a5fc0a7a6b02e1d8193cee2fb786143994 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Wed, 7 Jun 2017 13:44:29 +0100 Subject: [PATCH] Send actions count through to Beacon --- app/Integrations/Core/Beacon.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Integrations/Core/Beacon.php b/app/Integrations/Core/Beacon.php index 44f141d9..e7065683 100644 --- a/app/Integrations/Core/Beacon.php +++ b/app/Integrations/Core/Beacon.php @@ -14,6 +14,7 @@ namespace CachetHQ\Cachet\Integrations\Core; use CachetHQ\Cachet\Bus\Events\Beacon\BeaconFailedToSendEvent; use CachetHQ\Cachet\Bus\Events\Beacon\BeaconWasSentEvent; use CachetHQ\Cachet\Integrations\Contracts\Beacon as BeaconContract; +use CachetHQ\Cachet\Models\Action; use CachetHQ\Cachet\Models\Component; use CachetHQ\Cachet\Models\Incident; use CachetHQ\Cachet\Models\Metric; @@ -101,6 +102,7 @@ class Beacon implements BeaconContract 'incidents' => Incident::all()->count(), 'metrics' => Metric::all()->count(), 'users' => User::all()->count(), + 'actions' => Action::all()->count(), ], ];