mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-06-21 20:41:28 +02:00
Fix Group resource overriding TwoFAccounts count
This commit is contained in:
parent
a5514ba06b
commit
8dc5e7d6e9
@ -17,7 +17,7 @@ class GroupResource extends JsonResource
|
|||||||
return [
|
return [
|
||||||
'id' => $this->id,
|
'id' => $this->id,
|
||||||
'name' => $this->name,
|
'name' => $this->name,
|
||||||
'twofaccounts_count' => $this->twofaccounts()->count(),
|
'twofaccounts_count' => $this->twofaccounts_count,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user