From e16e3f17ec8223b79be2d7d16b004559023f1c05 Mon Sep 17 00:00:00 2001 From: Leon Morival Date: Mon, 17 Aug 2026 20:50:30 +0200 Subject: [PATCH] feat: try fix --- app/Models/User.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Models/User.php b/app/Models/User.php index 3b18772..226226c 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -156,6 +156,7 @@ class User extends Authenticatable implements FilamentUser, HasAvatar, HasLocale return $this->hasMany(NutritionPlan::class); } + public function activeNutritionPlan(): HasOne { return $this->hasOne(NutritionPlan::class)