1
0
Fork 0
mirror of synced 2024-09-30 17:26:48 +13:00

Add back codes env var

This commit is contained in:
Jake Barnby 2023-08-28 22:24:52 -04:00
parent aff9dbfb31
commit 0a1ab4ae60
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C
4 changed files with 1 additions and 4 deletions

View file

@ -20,7 +20,6 @@ use Utopia\Database\Database;
use Utopia\Database\Document;
use Utopia\Swoole\Files;
use Appwrite\Utopia\Request;
use Swoole\Runtime;
use Utopia\Logger\Log;
use Utopia\Logger\Log\User;
use Utopia\Pools\Group;

View file

@ -100,6 +100,7 @@ services:
- _APP_CONSOLE_WHITELIST_ROOT
- _APP_CONSOLE_WHITELIST_EMAILS
- _APP_CONSOLE_WHITELIST_IPS
- _APP_CONSOLE_WHITELIST_CODES
- _APP_SYSTEM_EMAIL_NAME
- _APP_SYSTEM_EMAIL_ADDRESS
- _APP_SYSTEM_SECURITY_EMAIL_ADDRESS

View file

@ -544,7 +544,6 @@ class Response extends SwooleResponse
if ($rule['array']) {
if (!is_array($data[$key])) {
\var_dump($data);
throw new Exception($key . ' must be an array of type ' . $rule['type']);
}

View file

@ -166,8 +166,6 @@ class FunctionsServerTest extends Scope
'x-appwrite-project' => $projectId,
], $this->getHeaders()), $gqlPayload);
\var_dump($execution);
$this->assertIsArray($execution['body']['data']);
$this->assertArrayNotHasKey('errors', $execution['body']);