graphs
This commit is contained in:
@@ -20,7 +20,7 @@ class UserRepo
|
||||
*/
|
||||
public function all(): Collection
|
||||
{
|
||||
$usersData = DB::table("users")->whereNot("status", "invite")->get();
|
||||
$usersData = DB::table("users")->get();
|
||||
|
||||
$users = array_map(fn($userData) => User::fromArray((array)$userData), $usersData->toArray());
|
||||
return new Collection($users);
|
||||
|
||||
Reference in New Issue
Block a user