From a0617edaf0c999078cd9bab5d878b12b49cf755d Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 14 Mar 2023 19:02:38 -0700 Subject: [PATCH] Fixed missing variable in Slack hook test Signed-off-by: snipe --- app/Http/Livewire/SlackSettingsForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Livewire/SlackSettingsForm.php b/app/Http/Livewire/SlackSettingsForm.php index f6bc366c20..d2760cb890 100644 --- a/app/Http/Livewire/SlackSettingsForm.php +++ b/app/Http/Livewire/SlackSettingsForm.php @@ -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:', ]);