From 6ea10dbeb9f498b4d8c8919f78f1598269f54457 Mon Sep 17 00:00:00 2001 From: Darshan Date: Tue, 13 May 2025 19:08:12 +0530 Subject: [PATCH] remove: data additions to `search` attribute. --- .../Modules/Functions/Http/Deployments/Duplicate/Create.php | 1 - .../Modules/Sites/Http/Deployments/Duplicate/Create.php | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Duplicate/Create.php b/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Duplicate/Create.php index 642e88ecc2..8f739dd37f 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Duplicate/Create.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Duplicate/Create.php @@ -104,7 +104,6 @@ class Create extends Action 'totalSize' => $deployment->getAttribute('sourceSize', 0), 'entrypoint' => $function->getAttribute('entrypoint'), 'buildCommands' => $function->getAttribute('commands', ''), - 'search' => implode(' ', [$deploymentId, $function->getAttribute('entrypoint')]), 'buildStartedAt' => null, 'buildEndedAt' => null, 'buildDuration' => null, diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Duplicate/Create.php b/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Duplicate/Create.php index fe4fd79e6b..bff0735328 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Duplicate/Create.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Duplicate/Create.php @@ -120,7 +120,6 @@ class Create extends Action 'buildOutput' => $site->getAttribute('outputDirectory', ''), 'adapter' => $site->getAttribute('adapter', ''), 'fallbackFile' => $site->getAttribute('fallbackFile', ''), - 'search' => implode(' ', [$deploymentId]), 'screenshotLight' => '', 'screenshotDark' => '', 'buildStartedAt' => null, @@ -162,7 +161,6 @@ class Create extends Action 'deploymentResourceInternalId' => $site->getInternalId(), 'status' => 'verified', 'certificateId' => '', - 'search' => implode(' ', [$ruleId, $domain]), 'owner' => 'Appwrite', 'region' => $project->getAttribute('region') ]))