Merge pull request #3022 from appwrite/fix-default-value
Add missing default and format attribute keys
This commit is contained in:
commit
512e1be74f
|
@ -130,6 +130,8 @@ App::post('/v1/projects')
|
|||
'signed' => $attribute['signed'],
|
||||
'array' => $attribute['array'],
|
||||
'filters' => $attribute['filters'],
|
||||
'default' => $attribute['default'] ?? null,
|
||||
'format' => $attribute['format'] ?? ''
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
|
@ -86,6 +86,8 @@ App::post('/v1/storage/buckets')
|
|||
'signed' => $attribute['signed'],
|
||||
'array' => $attribute['array'],
|
||||
'filters' => $attribute['filters'],
|
||||
'default' => $attribute['default'] ?? null,
|
||||
'format' => $attribute['format'] ?? ''
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
|
@ -132,6 +132,8 @@ $http->on('start', function (Server $http) use ($payloadSize, $register) {
|
|||
'signed' => $attribute['signed'],
|
||||
'array' => $attribute['array'],
|
||||
'filters' => $attribute['filters'],
|
||||
'default' => $attribute['default'] ?? null,
|
||||
'format' => $attribute['format'] ?? ''
|
||||
]);
|
||||
}
|
||||
|
||||
|
@ -187,6 +189,8 @@ $http->on('start', function (Server $http) use ($payloadSize, $register) {
|
|||
'signed' => $attribute['signed'],
|
||||
'array' => $attribute['array'],
|
||||
'filters' => $attribute['filters'],
|
||||
'default' => $attribute['default'] ?? null,
|
||||
'format' => $attribute['format'] ?? ''
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue