From a9424a3630194e75efef02c0a4c404b7043fe314 Mon Sep 17 00:00:00 2001 From: Levi van Noort <73097785+levivannoort@users.noreply.github.com> Date: Thu, 11 Dec 2025 15:36:24 +0100 Subject: [PATCH] chore: update imports to use TrustedIp in http and realtime files --- app/http.php | 1 + app/realtime.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/http.php b/app/http.php index 3f4d3a8cba..4f04eb9a8c 100644 --- a/app/http.php +++ b/app/http.php @@ -2,6 +2,7 @@ require_once __DIR__ . '/../vendor/autoload.php'; +use Apppwrite\Network\TrustedIp; use Appwrite\Utopia\Request; use Appwrite\Utopia\Response; use Swoole\Constant; diff --git a/app/realtime.php b/app/realtime.php index 403ba740f7..039563466e 100644 --- a/app/realtime.php +++ b/app/realtime.php @@ -3,7 +3,7 @@ use Appwrite\Extend\Exception; use Appwrite\Extend\Exception as AppwriteException; use Appwrite\Messaging\Adapter\Realtime; -use Appwrite\Network\Validator\Origin; +use Appwrite\Network\TrustedIp; use Appwrite\PubSub\Adapter\Pool as PubSubPool; use Appwrite\Utopia\Database\Documents\User; use Appwrite\Utopia\Request;