From bcbebe657c7edf17fd64970cda28cd5faa4d6a73 Mon Sep 17 00:00:00 2001 From: Prem Palanisamy Date: Mon, 25 May 2026 09:14:13 +0100 Subject: [PATCH] Filter custom-domain rules by verified status --- src/Appwrite/Platform/Workers/Migrations.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Appwrite/Platform/Workers/Migrations.php b/src/Appwrite/Platform/Workers/Migrations.php index 91a78dcda5..7e15775d9b 100644 --- a/src/Appwrite/Platform/Workers/Migrations.php +++ b/src/Appwrite/Platform/Workers/Migrations.php @@ -225,6 +225,7 @@ class Migrations extends Action $rule = $this->dbForPlatform->findOne('rules', [ Query::equal('domain', [$sourceHost]), Query::equal('type', ['api']), + Query::equal('status', [RULE_STATUS_VERIFIED]), Query::equal('projectInternalId', [$this->sourceProject->getSequence()]), ]); if (!$rule->isEmpty()) {