Update src/Appwrite/Utopia/Response/Model/Specification.php

Co-authored-by: Jake Barnby <jakeb994@gmail.com>
This commit is contained in:
Bradley Schofield 2024-08-20 18:35:55 +09:00 committed by GitHub
parent dc149761d8
commit 6d230e7c03
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,7 +17,7 @@ class Specification extends Model
'example' => 512
]);
$this->addRule('cpus', [
'type' => self::TYPE_INTEGER,
'type' => self::TYPE_FLOAT,
'description' => 'Number of CPUs.',
'default' => 0,
'example' => 1