From d1fd7760761fa2a092d002469e307471bdf9ee49 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Fri, 8 Apr 2022 17:55:29 +1200 Subject: [PATCH] Name fixes --- app/init.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/init.php b/app/init.php index 931d8f0809..c9fb6af102 100644 --- a/app/init.php +++ b/app/init.php @@ -24,7 +24,7 @@ use Appwrite\Extend\Exception; use Appwrite\Auth\Auth; use Appwrite\Event\Event; use Appwrite\GraphQL\Builder; -use Appwrite\GraphQL\SwoolePromiseAdapter; +use Appwrite\GraphQL\CoroutinePromiseAdapter; use Appwrite\Network\Validator\Email; use Appwrite\Network\Validator\IP; use Appwrite\Network\Validator\URL; @@ -498,7 +498,7 @@ $register->set('cache', function () { // This is usually for our workers or CLI return $redis; }); $register->set('promiseAdapter', function () { - return new SwoolePromiseAdapter(); + return new CoroutinePromiseAdapter(); }); /*