From 172ba84ec8c682e6be4fc02620935f4c56f6bf73 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Thu, 3 Jul 2025 22:25:46 +0530 Subject: [PATCH] chore: add logging --- src/Appwrite/Network/Platform.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Appwrite/Network/Platform.php b/src/Appwrite/Network/Platform.php index 71b4587824..1bf68c4483 100644 --- a/src/Appwrite/Network/Platform.php +++ b/src/Appwrite/Network/Platform.php @@ -2,6 +2,8 @@ namespace Appwrite\Network; +use Utopia\CLI\Console; + class Platform { public const TYPE_UNKNOWN = 'unknown'; @@ -100,6 +102,7 @@ class Platform public static function getSchemes(array $platforms): array { $schemes = []; + Console::log("Platforms: " . json_encode($platforms, JSON_PRETTY_PRINT)); foreach ($platforms as $platform) { $type = strtolower($platform['type'] ?? self::TYPE_UNKNOWN); $scheme = strtolower($platform['key'] ?? '');