fix: simply reply to help messages

This commit is contained in:
Andras Bacsai 2023-09-14 18:33:05 +02:00
parent aba0b2f13c
commit 4b313bb1c6

View File

@ -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);