1
0
mirror of synced 2026-08-05 22:56:57 +00:00

DEV: Fix linting

This commit is contained in:
Loïc Guitaut
2024-03-04 16:34:01 +01:00
committed by Loïc Guitaut
parent 4f737df97e
commit 0badc2bc22
+2 -1
View File
@@ -25,7 +25,8 @@ after_initialize do
is_access_token = setting_name == :chat_integration_telegram_access_token
if (is_enabled_setting || is_access_token)
enabled = is_enabled_setting ? new_value == true : SiteSetting.chat_integration_telegram_enabled
enabled =
is_enabled_setting ? new_value == true : SiteSetting.chat_integration_telegram_enabled
if enabled && SiteSetting.chat_integration_telegram_access_token.present?
Scheduler::Defer.later("Setup Telegram Webhook") do