Add whitelist of filters to createAttribute
This commit is contained in:
parent
435f6879f2
commit
160330675a
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ App::post('/v1/database/collections/:collectionId/attributes')
|
|||
->param('required', null, new Boolean(), 'Is attribute required?')
|
||||
->param('signed', true, new Boolean(), 'Is attribute signed?', true)
|
||||
->param('array', false, new Boolean(), 'Is attribute an array?', true)
|
||||
->param('filters', [], new ArrayList(new Text(256)), 'Array of filters.', true)
|
||||
->param('filters', [], new ArrayList(new Whitelist(['encrypt', 'json'])), 'Array of filters.', true)
|
||||
->inject('response')
|
||||
->inject('dbForExternal')
|
||||
->inject('audits')
|
||||
|
|
Loading…
Reference in a new issue