Update team-by-id-members API documentation link
This commit is contained in:
parent
93e4e723fa
commit
6688120aee
@ -40,7 +40,7 @@ class Team extends Controller
|
|||||||
$teams = auth()->user()->teams;
|
$teams = auth()->user()->teams;
|
||||||
$team = $teams->where('id', $id)->first();
|
$team = $teams->where('id', $id)->first();
|
||||||
if (is_null($team)) {
|
if (is_null($team)) {
|
||||||
return response()->json(['error' => 'Team not found.', "docs" => "https://coolify.io/docs/api/team-by-members"], 404);
|
return response()->json(['error' => 'Team not found.', "docs" => "https://coolify.io/docs/api/team-by-id-members"], 404);
|
||||||
}
|
}
|
||||||
return response()->json($team->members);
|
return response()->json($team->members);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user