fix: typo in pushover user key
This commit is contained in:
@@ -15,7 +15,7 @@ class PushoverNotificationSettings extends Model
|
|||||||
'team_id',
|
'team_id',
|
||||||
|
|
||||||
'pushover_enabled',
|
'pushover_enabled',
|
||||||
'pushover_user_key_key',
|
'pushover_user_key',
|
||||||
'pushover_api_token',
|
'pushover_api_token',
|
||||||
|
|
||||||
'deployment_success_pushover_notifications',
|
'deployment_success_pushover_notifications',
|
||||||
@@ -33,7 +33,7 @@ class PushoverNotificationSettings extends Model
|
|||||||
|
|
||||||
protected $casts = [
|
protected $casts = [
|
||||||
'pushover_enabled' => 'boolean',
|
'pushover_enabled' => 'boolean',
|
||||||
'pushover_user_key_key' => 'encrypted',
|
'pushover_user_key' => 'encrypted',
|
||||||
'pushover_api_token' => 'encrypted',
|
'pushover_api_token' => 'encrypted',
|
||||||
|
|
||||||
'deployment_success_pushover_notifications' => 'boolean',
|
'deployment_success_pushover_notifications' => 'boolean',
|
||||||
|
|||||||
@@ -160,7 +160,7 @@ class Team extends Model implements SendsDiscord, SendsEmail, SendsPushover, Sen
|
|||||||
public function routeNotificationForPushover()
|
public function routeNotificationForPushover()
|
||||||
{
|
{
|
||||||
return [
|
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),
|
'token' => data_get($this, 'pushover_api_token', null),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user