Fixed: Age group membership should be active
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
45a1e165fa
commit
277259320a
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue