mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 01:18:37 +00:00
fix: string attribute size response model
This commit is contained in:
parent
bbe8232294
commit
0095ff2d6c
1 changed files with 2 additions and 2 deletions
|
|
@ -13,7 +13,7 @@ class AttributeString extends Attribute
|
|||
|
||||
$this
|
||||
->addRule('size', [
|
||||
'type' => self::TYPE_STRING,
|
||||
'type' => self::TYPE_INTEGER,
|
||||
'description' => 'Attribute size.',
|
||||
'default' => 0,
|
||||
'example' => 128,
|
||||
|
|
@ -52,4 +52,4 @@ class AttributeString extends Attribute
|
|||
{
|
||||
return Response::MODEL_ATTRIBUTE_STRING;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue