From ec9ecb6cd46f8ec4ff48a12fe323ccaa718c2e1b Mon Sep 17 00:00:00 2001 From: Christy Jacob Date: Wed, 6 Sep 2023 20:08:07 +0000 Subject: [PATCH] chore: linter --- src/Appwrite/Migration/Version/V19.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Appwrite/Migration/Version/V19.php b/src/Appwrite/Migration/Version/V19.php index d7dae3635f..5abf91ed62 100644 --- a/src/Appwrite/Migration/Version/V19.php +++ b/src/Appwrite/Migration/Version/V19.php @@ -56,15 +56,15 @@ class V19 extends Migration if ($domain->getAttribute('verification', false)) { $status = 'verified'; } - + $projectId = $domain->getAttribute('projectId'); $projectInternalId = $domain->getAttribute('projectInternalId'); - + if (empty($projectId) || empty($projectInternalId)) { Console::warning("Error migrating domain {$domain->getAttribute('domain')}: Missing projectId or projectInternalId"); continue; } - + $ruleDocument = new Document([ 'projectId' => $domain->getAttribute('projectId'), 'projectInternalId' => $domain->getAttribute('projectInternalId'), @@ -75,7 +75,7 @@ class V19 extends Migration 'status' => $status, 'certificateId' => $domain->getAttribute('certificateId'), ]); - + try { $this->consoleDB->createDocument('rules', $ruleDocument); } catch (\Throwable $th) {