Skip to content

Commit

Permalink
add all teams
Browse files Browse the repository at this point in the history
  • Loading branch information
alnutile committed Sep 10, 2024
1 parent cff3dc9 commit 74961b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Resources/TeamResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function toArray(Request $request): array
'name' => $this->name,
'created_at' => $this->created_at,
'updated_at' => $this->updated_at,
'users' => UserResource::collection($this->users),
'users' => UserResource::collection($this->allUsers()),
];
}
}

0 comments on commit 74961b2

Please sign in to comment.