mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 00:14:24 +00:00
chore: more details
This commit is contained in:
1 parent
6c33bd9c72
commit
33b965d9db
8 files changed
+808
-492
No files matched your search
@@ -116,7 +116,7 @@ class TeamController extends Controller
|
||||
$teams = auth()->user()->teams;
|
||||
$team = $teams->where('id', $id)->first();
|
||||
if (is_null($team)) {
|
||||
return response()->json(['message' => 'Team not found.', 'docs' => 'https://coolify.io/docs/api-reference/get-team-by-teamid'], 404);
|
||||
return response()->json(['message' => 'Team not found.'], 404);
|
||||
}
|
||||
$team = $this->removeSensitiveData($team);
|
||||
|
||||
@@ -173,7 +173,7 @@ class TeamController extends Controller
|
||||
$teams = auth()->user()->teams;
|
||||
$team = $teams->where('id', $id)->first();
|
||||
if (is_null($team)) {
|
||||
return response()->json(['message' => 'Team not found.', 'docs' => 'https://coolify.io/docs/api-reference/get-team-by-teamid-members'], 404);
|
||||
return response()->json(['message' => 'Team not found.'], 404);
|
||||
}
|
||||
$members = $team->members;
|
||||
$members->makeHidden([
|
||||
|
||||
Reference in new issue
Block a user