mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Filter custom-domain rules by verified status
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user