Fixed missing variable in Slack hook test

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-03-14 19:02:38 -07:00
parent 4c66267f3b
commit a0617edaf0

View file

@ -92,7 +92,7 @@ class SlackSettingsForm extends Component
$payload = json_encode(
[
'channel' => e($this->webhook_channel),
'text' => trans('general.webhook_test_msg'),
'text' => trans('general.webhook_test_msg', ['app' => $this->webhook_name]),
'username' => e($this->webhook_botname),
'icon_emoji' => ':heart:',
]);