Updated files to v1.9.4

This commit is contained in:
Henry Whitaker
2020-08-25 21:29:12 +01:00
parent c8f853dc84
commit f11d3cf842
45 changed files with 1903 additions and 43 deletions

View File

@@ -30,17 +30,17 @@ class IntegrationsController extends Controller
$methodResp = 'test healthchecks \'' . $method . '\' endpoint';
try {
$hc = new Healthchecks(config('integrations.healthchecks_uuid'));
// SettingsHelper::loadIntegrationConfig();
if($method == 'success') {
$hc->success();
Healthcheck::success();
}
if($method == 'fail') {
$hc->fail();
Healthcheck::fail();
}
if($method == 'start') {
$hc->start();
Healthcheck::start();
}
return response()->json([
@@ -78,7 +78,7 @@ class IntegrationsController extends Controller
SettingsHelper::testNotification();
return response()->json([
'method' => 'test notificaiton agents'
'method' => 'test notification agents'
], 200);
}
}