Fix Group resource overriding TwoFAccounts count

This commit is contained in:
Bubka 2021-10-03 11:15:28 +02:00
parent a5514ba06b
commit 8dc5e7d6e9

View File

@ -17,7 +17,7 @@ public function toArray($request)
return [ return [
'id' => $this->id, 'id' => $this->id,
'name' => $this->name, 'name' => $this->name,
'twofaccounts_count' => $this->twofaccounts()->count(), 'twofaccounts_count' => $this->twofaccounts_count,
]; ];
} }
} }