diff --git a/src/Appwrite/SDK/Specification/Format.php b/src/Appwrite/SDK/Specification/Format.php index 39fbd2883e..91b090a9f6 100644 --- a/src/Appwrite/SDK/Specification/Format.php +++ b/src/Appwrite/SDK/Specification/Format.php @@ -79,15 +79,6 @@ abstract class Format ]; private const array REQUEST_PARAMETER_OVERRIDES = [ - [ - 'namespace' => 'project', - 'methods' => [ - 'createKey', - 'updateKey', - ], - 'parameter' => 'scopes', - 'nullable' => false, - ], [ 'namespace' => 'project', 'methods' => [ diff --git a/tests/unit/SDK/Specification/FormatTest.php b/tests/unit/SDK/Specification/FormatTest.php index e21f2f3c43..f99b29bfe2 100644 --- a/tests/unit/SDK/Specification/FormatTest.php +++ b/tests/unit/SDK/Specification/FormatTest.php @@ -39,16 +39,12 @@ class FormatTest extends TestCase { $createWebPlatform = $this->format->requestParameterConfig('project', 'createWebPlatform', 'hostname', true, false, ''); $updateWebPlatform = $this->format->requestParameterConfig('project', 'updateWebPlatform', 'hostname', true, false, ''); - $createKey = $this->format->requestParameterConfig('project', 'createKey', 'scopes', false, true, null); - $updateKey = $this->format->requestParameterConfig('project', 'updateKey', 'scopes', false, true, null); $listPlatforms = $this->format->requestParameterConfig('project', 'listPlatforms', 'queries', true, false, []); $this->assertTrue($createWebPlatform['required']); $this->assertFalse($createWebPlatform['emitDefault']); $this->assertTrue($updateWebPlatform['required']); $this->assertFalse($updateWebPlatform['emitDefault']); - $this->assertFalse($createKey['nullable']); - $this->assertFalse($updateKey['nullable']); $this->assertTrue($listPlatforms['emitDefault']); }