Update slack_* properties to webhook_*

This commit is contained in:
Marcus Moore
2023-03-22 14:43:00 -07:00
parent e8e1ada776
commit fe6295a5e4
16 changed files with 39 additions and 44 deletions
+4 -4
View File
@@ -83,9 +83,9 @@ class Setting extends Model
'email_domain',
'email_format',
'username_format',
'slack_endpoint',
'slack_channel',
'slack_botname',
'webhook_endpoint',
'webhook_channel',
'webhook_botname',
];
/**
@@ -265,7 +265,7 @@ class Setting extends Model
{
// At this point the endpoint is the same for everything.
// In the future this may want to be adapted for individual notifications.
return self::getSettings()->slack_endpoint;
return self::getSettings()->webhook_endpoint;
}
/**