Refactor for CoolifyTask.

This commit is contained in:
Joao Patricio committed 2023-05-03 06:15:45 +01:00
1 parent c3f13b54c1
commit e7763f3b73
17 files changed
+75 -63

No files matched your search

+4 -1
View File
@@ -62,7 +62,10 @@ class ProjectController extends Controller
if (!$application) {
return redirect()->route('home');
}
$activity = Activity::where('properties->deployment_uuid', '=', $deployment_uuid)->first();
$activity = Activity::query()
->where('properties->type', '=', 'deployment')
->where('properties->uuid', '=', $deployment_uuid)
->first();
return view('project.deployment', [
'activity' => $activity,