Fixed: Age group membership should be active
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Philipp Lang 2023-06-15 15:22:47 +02:00
parent 45a1e165fa
commit 277259320a
1 changed files with 1 additions and 1 deletions

View File

@ -282,7 +282,7 @@ class Member extends Model implements Geolocatable
*/
public function ageGroupMemberships(): HasMany
{
return $this->memberships()->isAgeGroup();
return $this->memberships()->isAgeGroup()->active();
}
public static function booted()