mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix: response model
This commit is contained in:
@@ -120,6 +120,12 @@ class User extends Model
|
||||
'default' => false,
|
||||
'example' => true,
|
||||
])
|
||||
->addRule('totp', [
|
||||
'type' => self::TYPE_BOOLEAN,
|
||||
'description' => 'TOTP status.',
|
||||
'default' => false,
|
||||
'example' => true,
|
||||
])
|
||||
->addRule('prefs', [
|
||||
'type' => Response::MODEL_PREFERENCES,
|
||||
'description' => 'User preferences as a key-value object',
|
||||
|
||||
Reference in New Issue
Block a user