From 4b313bb1c6780ab5b4da1f7613065e595e182c17 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 14 Sep 2023 18:33:05 +0200 Subject: [PATCH] fix: simply reply to help messages --- app/Http/Livewire/Help.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Livewire/Help.php b/app/Http/Livewire/Help.php index f05b81010..bfdb875b3 100644 --- a/app/Http/Livewire/Help.php +++ b/app/Http/Livewire/Help.php @@ -41,7 +41,7 @@ public function submit() ] ); $mail->subject("[HELP - {$subscriptionType}]: {$this->subject}"); - send_user_an_email($mail, 'hi@coollabs.io', auth()->user()?->email); + send_user_an_email($mail, auth()->user()?->email, 'hi@coollabs.io'); $this->emit('success', 'Your message has been sent successfully. We will get in touch with you as soon as possible.'); } catch (\Throwable $e) { return general_error_handler($e, $this);