X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=app%2FModels%2FParticipant.php;h=c2a8d8ab861525c1bdedfa7b75a1e420613e5d80;hb=a90987ef670ed4c4de7d4191821e6c863342577d;hp=36ab3cf305e18ff1d2992ae106b6bb4117c3810b;hpb=55f2d7cd6c290a0d26db177d54d20c393f890bbb;p=alttp.git diff --git a/app/Models/Participant.php b/app/Models/Participant.php index 36ab3cf..c2a8d8a 100644 --- a/app/Models/Participant.php +++ b/app/Models/Participant.php @@ -17,4 +17,8 @@ class Participant extends Model return $this->belongsTo(User::class); } + protected $with = [ + 'user', + ]; + }