From 866abfb1d41699e5860f7448b4270078f0f462c9 Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Wed, 11 Dec 2024 19:31:25 +0100 Subject: [PATCH] fix: typo in pushover user key --- app/Models/PushoverNotificationSettings.php | 4 ++-- app/Models/Team.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Models/PushoverNotificationSettings.php b/app/Models/PushoverNotificationSettings.php index 7deeadedc..e3191dcc3 100644 --- a/app/Models/PushoverNotificationSettings.php +++ b/app/Models/PushoverNotificationSettings.php @@ -15,7 +15,7 @@ class PushoverNotificationSettings extends Model 'team_id', 'pushover_enabled', - 'pushover_user_key_key', + 'pushover_user_key', 'pushover_api_token', 'deployment_success_pushover_notifications', @@ -33,7 +33,7 @@ class PushoverNotificationSettings extends Model protected $casts = [ 'pushover_enabled' => 'boolean', - 'pushover_user_key_key' => 'encrypted', + 'pushover_user_key' => 'encrypted', 'pushover_api_token' => 'encrypted', 'deployment_success_pushover_notifications' => 'boolean', diff --git a/app/Models/Team.php b/app/Models/Team.php index 174137840..e55cb0d19 100644 --- a/app/Models/Team.php +++ b/app/Models/Team.php @@ -160,7 +160,7 @@ class Team extends Model implements SendsDiscord, SendsEmail, SendsPushover, Sen public function routeNotificationForPushover() { return [ - 'user' => data_get($this, 'pushover_user_key_key', null), + 'user' => data_get($this, 'pushover_user_key', null), 'token' => data_get($this, 'pushover_api_token', null), ]; }