Beautiful Open-Source Form Builder
Fix the user issue
Julien Nahumdc5a828b8e51
diff --git a/app/Models/User.php b/app/Models/User.phpindex 3ce5c21d8..f9cabfffe 100644--- a/app/Models/User.php+++ b/app/Models/User.php@@ -154,7 +154,7 @@ class User extends Authenticatable implements JWTSubjectreturn $this->hasMany(License::class);}- public function activeLicense(): License+ public function activeLicense(): ?License{return $this->licenses()->active()->first();}