Merge branch 'patricio-wip-11' into patricio-deploy-proxy

This commit is contained in:
Joao Patricio
2023-05-03 07:53:03 +01:00
5 changed files with 11 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');
}