Enabled akas() method to only show current active akas. Should fix the link register netmail from polling an invalid FTN id.

This commit is contained in:
2023-06-23 21:28:29 +10:00
parent b8534d8598
commit fdbc58856b
8 changed files with 52 additions and 26 deletions

View File

@@ -40,6 +40,12 @@ class System extends Model
->FTNorder();
}
public function akas()
{
return $this->hasMany(Address::class)
->active();
}
public function logs()
{
return $this->hasMany(SystemLog::class);