mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-24 06:28:27 +01:00
Revert "Load integrations config with db data"
This reverts commit 10137a602a.
This commit is contained in:
@@ -41,18 +41,6 @@ class IntegrationsServiceProvider extends ServiceProvider
|
||||
|
||||
if($setting !== false) {
|
||||
try {
|
||||
// Update config with DB values
|
||||
config([
|
||||
'integrations' => [
|
||||
'healthchecks_enabled' => SettingsHelper::get('healthchecks_enabled')->value,
|
||||
'healthchecks_uuid' => SettingsHelper::get('healthchecks_uuid')->value,
|
||||
'healthchecks_uuid' => SettingsHelper::get('healthchecks_uuid')->value,
|
||||
'slack_webhook' => SettingsHelper::get('slack_webhook')->value,
|
||||
'telegram_bot_token' => SettingsHelper::get('telegram_bot_token')->value,
|
||||
'telegram_chat_id' => SettingsHelper::get('telegram_chat_id')->value,
|
||||
]
|
||||
]);
|
||||
|
||||
App::bind('healthcheck', function() use ($setting) {
|
||||
return new Healthchecks($setting->value);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user