Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: typo in pushover user key

peaklabs-dev866abfb1d416
diff --git a/app/Models/PushoverNotificationSettings.php b/app/Models/PushoverNotificationSettings.php
index 7deeadedc9..e3191dcc34 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 1741378407..e55cb0d19d 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),
];
}