Merge pull request #3022 from appwrite/fix-default-value
Add missing default and format attribute keys
This commit is contained in:
commit
512e1be74f
3 changed files with 8 additions and 0 deletions
|
@ -130,6 +130,8 @@ App::post('/v1/projects')
|
||||||
'signed' => $attribute['signed'],
|
'signed' => $attribute['signed'],
|
||||||
'array' => $attribute['array'],
|
'array' => $attribute['array'],
|
||||||
'filters' => $attribute['filters'],
|
'filters' => $attribute['filters'],
|
||||||
|
'default' => $attribute['default'] ?? null,
|
||||||
|
'format' => $attribute['format'] ?? ''
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -86,6 +86,8 @@ App::post('/v1/storage/buckets')
|
||||||
'signed' => $attribute['signed'],
|
'signed' => $attribute['signed'],
|
||||||
'array' => $attribute['array'],
|
'array' => $attribute['array'],
|
||||||
'filters' => $attribute['filters'],
|
'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'],
|
'signed' => $attribute['signed'],
|
||||||
'array' => $attribute['array'],
|
'array' => $attribute['array'],
|
||||||
'filters' => $attribute['filters'],
|
'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'],
|
'signed' => $attribute['signed'],
|
||||||
'array' => $attribute['array'],
|
'array' => $attribute['array'],
|
||||||
'filters' => $attribute['filters'],
|
'filters' => $attribute['filters'],
|
||||||
|
'default' => $attribute['default'] ?? null,
|
||||||
|
'format' => $attribute['format'] ?? ''
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue