Skip to content

Commit 74961b2

Browse files
committed
add all teams
1 parent cff3dc9 commit 74961b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Resources/TeamResource.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function toArray(Request $request): array
1919
'name' => $this->name,
2020
'created_at' => $this->created_at,
2121
'updated_at' => $this->updated_at,
22-
'users' => UserResource::collection($this->users),
22+
'users' => UserResource::collection($this->allUsers()),
2323
];
2424
}
2525
}

0 commit comments

Comments
 (0)