From 6869c582ffa7c4ff4840b832f3299cf9f611aebf Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Tue, 6 Feb 2024 07:21:06 +0100 Subject: [PATCH] Update retrieval of applications and services in Deploy controller --- app/Http/Controllers/Api/Deploy.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/Api/Deploy.php b/app/Http/Controllers/Api/Deploy.php index 4138ce6c0..f071f3b5b 100644 --- a/app/Http/Controllers/Api/Deploy.php +++ b/app/Http/Controllers/Api/Deploy.php @@ -73,8 +73,8 @@ class Deploy extends Controller $message->push("Tag {$tag} not found."); continue; } - $applications = $found_tag->applications(); - $services = $found_tag->services(); + $applications = $found_tag->applications()->get(); + $services = $found_tag->services()->get(); if ($applications->count() === 0 && $services->count() === 0) { $message->push("No resources found for tag {$tag}."); continue;