From 43bcfe8d02dbe635bc78a99f97149e79041fc479 Mon Sep 17 00:00:00 2001 From: Hicro <75737377+HicaroD@users.noreply.github.com> Date: Tue, 1 Jul 2025 06:10:47 -0300 Subject: [PATCH] fix: removing eager loading (#6071) since the destionations relationship is not really needed, we could remove it and avoid the issue with the missing eager constraint. Co-authored-by: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> --- app/Livewire/Project/CloneMe.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/Livewire/Project/CloneMe.php b/app/Livewire/Project/CloneMe.php index fefaff4f2..a7c44577c 100644 --- a/app/Livewire/Project/CloneMe.php +++ b/app/Livewire/Project/CloneMe.php @@ -56,7 +56,6 @@ class CloneMe extends Component $this->project_id = $this->project->id; $this->servers = currentTeam() ->servers() - ->with('destinations') ->get() ->reject(fn ($server) => $server->isBuildServer()); $this->newName = str($this->project->name.'-clone-'.(string) new Cuid2)->slug();