fix: sub type

This commit is contained in:
Andras Bacsai 2023-09-12 14:53:54 +02:00
parent 9baf0161c7
commit d0cd926517

View File

@ -30,7 +30,7 @@ public function submit()
try {
$this->rateLimit(1, 60);
$this->validate();
$subscriptionType = auth()->user()?->subscription?->type();
$subscriptionType = auth()->user()?->subscription?->type() ?? 'Free';
$debug = "Route: {$this->path}";
$mail = new MailMessage();
$mail->view(