diff --git a/app/config/collections.php b/app/config/collections.php index 428609365c..36f6761677 100644 --- a/app/config/collections.php +++ b/app/config/collections.php @@ -987,7 +987,7 @@ $collections = [ 'filters' => ['datetime'], ], [ - '$id' => 'sdks', + '$id' => ID::custom('sdks'), 'type' => Database::VAR_STRING, 'format' => '', 'size' => Database::LENGTH_KEY, diff --git a/src/Appwrite/Utopia/Response/Model/Key.php b/src/Appwrite/Utopia/Response/Model/Key.php index 501510c456..e5879d2934 100644 --- a/src/Appwrite/Utopia/Response/Model/Key.php +++ b/src/Appwrite/Utopia/Response/Model/Key.php @@ -62,7 +62,6 @@ class Key extends Model 'type' => self::TYPE_DATETIME_EXAMPLE, 'description' => 'Most recent access date in Unix timestamp.', 'default' => null, - 'default' => '', 'example' => self::TYPE_DATETIME_EXAMPLE ]) ->addRule('sdks', [