chore: prepare for PR

This commit is contained in:
Andras Bacsai
2026-02-23 12:12:10 +01:00
parent fd24a54304
commit 73170fdd33
11 changed files with 315 additions and 23 deletions
@@ -127,6 +127,10 @@ class DeployController extends Controller
if (! $deployment) {
return response()->json(['message' => 'Deployment not found.'], 404);
}
$application = $deployment->application;
if (! $application || data_get($application->team(), 'id') !== $teamId) {
return response()->json(['message' => 'Deployment not found.'], 404);
}
return response()->json($this->removeSensitiveData($deployment));
}