fix: deployment_uuid -> type_uuid

This commit is contained in:
Andras Bacsai
2023-05-03 08:51:03 +02:00
parent 83392dd8dc
commit f6c7343b70
4 changed files with 5 additions and 6 deletions

View File

@@ -12,7 +12,7 @@ class GetDeployments extends Component
public string $status;
public function polling()
{
$activity = Activity::where('properties->deployment_uuid', '=', $this->deployment_uuid)->first();
$activity = Activity::where('properties->type_uuid', '=', $this->deployment_uuid)->first();
$this->created_at = $activity->created_at;
$this->status = data_get($activity, 'properties.status');
}