1
0
Fork 0
mirror of synced 2024-10-03 02:37:40 +13:00

Name fixes

This commit is contained in:
Jake Barnby 2022-04-08 17:55:29 +12:00
parent a1d877b726
commit d1fd776076
No known key found for this signature in database
GPG key ID: A4674EBC0E404657

View file

@ -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();
});
/*