fix: typo in pushover user key

This commit is contained in:
peaklabs-dev
2024-12-11 19:31:25 +01:00
parent 92fec9582c
commit 866abfb1d4
2 changed files with 3 additions and 3 deletions

View File

@@ -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',

View File

@@ -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),
];
}