mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Add status to response model
This commit is contained in:
@@ -283,6 +283,12 @@ class Project extends Model
|
||||
'example' => ['vip'],
|
||||
'array' => true,
|
||||
])
|
||||
->addRule('status', [
|
||||
'type' => self::TYPE_STRING,
|
||||
'description' => 'Project status.',
|
||||
'default' => 'active',
|
||||
'example' => 'active',
|
||||
])
|
||||
;
|
||||
|
||||
$services = Config::getParam('services', []);
|
||||
|
||||
Reference in New Issue
Block a user