Update team-by-id-members API documentation link
This commit is contained in:
parent
93e4e723fa
commit
6688120aee
@ -40,7 +40,7 @@ public function members_by_id(Request $request)
|
||||
$teams = auth()->user()->teams;
|
||||
$team = $teams->where('id', $id)->first();
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user