mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
update project desc
This commit is contained in:
@@ -56,7 +56,7 @@ abstract class Scope extends TestCase
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
abstract public function getHeaders(): array;
|
||||
abstract public function getHeaders(bool $devKey): array;
|
||||
|
||||
/**
|
||||
* @return array
|
||||
|
||||
@@ -4,7 +4,7 @@ namespace Tests\E2E\Scopes;
|
||||
|
||||
trait SideConsole
|
||||
{
|
||||
public function getHeaders(): array
|
||||
public function getHeaders(bool $devKey = false): array
|
||||
{
|
||||
return [
|
||||
'origin' => 'http://localhost',
|
||||
|
||||
@@ -88,7 +88,7 @@ class AbuseTest extends Scope
|
||||
$response = $this->client->call(Client::METHOD_POST, '/graphql', \array_merge([
|
||||
'content-type' => 'application/json',
|
||||
'x-appwrite-project' => $projectId,
|
||||
], $this->getHeaders()), $graphQLPayload);
|
||||
], $this->getHeaders(false)), $graphQLPayload);
|
||||
|
||||
$max = System::getEnv('_APP_GRAPHQL_MAX_QUERY_COMPLEXITY', 250);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user