fix: sub type
This commit is contained in:
parent
9baf0161c7
commit
d0cd926517
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue