chore: rename topicID to threadId like in the telegram API response
This commit is contained in:
@@ -30,17 +30,17 @@ class TelegramNotificationSettings extends Model
|
||||
'server_reachable_telegram_notifications',
|
||||
'server_unreachable_telegram_notifications',
|
||||
|
||||
'telegram_notifications_deployment_success_topic_id',
|
||||
'telegram_notifications_deployment_failure_topic_id',
|
||||
'telegram_notifications_status_change_topic_id',
|
||||
'telegram_notifications_backup_success_topic_id',
|
||||
'telegram_notifications_backup_failure_topic_id',
|
||||
'telegram_notifications_scheduled_task_success_topic_id',
|
||||
'telegram_notifications_scheduled_task_failure_topic_id',
|
||||
'telegram_notifications_docker_cleanup_topic_id',
|
||||
'telegram_notifications_server_disk_usage_topic_id',
|
||||
'telegram_notifications_server_reachable_topic_id',
|
||||
'telegram_notifications_server_unreachable_topic_id',
|
||||
'telegram_notifications_deployment_success_thread_id',
|
||||
'telegram_notifications_deployment_failure_thread_id',
|
||||
'telegram_notifications_status_change_thread_id',
|
||||
'telegram_notifications_backup_success_thread_id',
|
||||
'telegram_notifications_backup_failure_thread_id',
|
||||
'telegram_notifications_scheduled_task_success_thread_id',
|
||||
'telegram_notifications_scheduled_task_failure_thread_id',
|
||||
'telegram_notifications_docker_cleanup_thread_id',
|
||||
'telegram_notifications_server_disk_usage_thread_id',
|
||||
'telegram_notifications_server_reachable_thread_id',
|
||||
'telegram_notifications_server_unreachable_thread_id',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
@@ -60,17 +60,17 @@ class TelegramNotificationSettings extends Model
|
||||
'server_reachable_telegram_notifications' => 'boolean',
|
||||
'server_unreachable_telegram_notifications' => 'boolean',
|
||||
|
||||
'telegram_notifications_deployment_success_topic_id' => 'encrypted',
|
||||
'telegram_notifications_deployment_failure_topic_id' => 'encrypted',
|
||||
'telegram_notifications_status_change_topic_id' => 'encrypted',
|
||||
'telegram_notifications_backup_success_topic_id' => 'encrypted',
|
||||
'telegram_notifications_backup_failure_topic_id' => 'encrypted',
|
||||
'telegram_notifications_scheduled_task_success_topic_id' => 'encrypted',
|
||||
'telegram_notifications_scheduled_task_failure_topic_id' => 'encrypted',
|
||||
'telegram_notifications_docker_cleanup_topic_id' => 'encrypted',
|
||||
'telegram_notifications_server_disk_usage_topic_id' => 'encrypted',
|
||||
'telegram_notifications_server_reachable_topic_id' => 'encrypted',
|
||||
'telegram_notifications_server_unreachable_topic_id' => 'encrypted',
|
||||
'telegram_notifications_deployment_success_thread_id' => 'encrypted',
|
||||
'telegram_notifications_deployment_failure_thread_id' => 'encrypted',
|
||||
'telegram_notifications_status_change_thread_id' => 'encrypted',
|
||||
'telegram_notifications_backup_success_thread_id' => 'encrypted',
|
||||
'telegram_notifications_backup_failure_thread_id' => 'encrypted',
|
||||
'telegram_notifications_scheduled_task_success_thread_id' => 'encrypted',
|
||||
'telegram_notifications_scheduled_task_failure_thread_id' => 'encrypted',
|
||||
'telegram_notifications_docker_cleanup_thread_id' => 'encrypted',
|
||||
'telegram_notifications_server_disk_usage_thread_id' => 'encrypted',
|
||||
'telegram_notifications_server_reachable_thread_id' => 'encrypted',
|
||||
'telegram_notifications_server_unreachable_thread_id' => 'encrypted',
|
||||
];
|
||||
|
||||
public function team()
|
||||
|
||||
Reference in New Issue
Block a user