Update app/controllers/api/functions.php
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
This commit is contained in:
parent
ad0e856e1b
commit
883207240c
1 changed files with 1 additions and 1 deletions
|
@ -1311,7 +1311,7 @@ App::post('/v1/functions/:functionId/variables')
|
||||||
->label('sdk.response.type', Response::CONTENT_TYPE_JSON)
|
->label('sdk.response.type', Response::CONTENT_TYPE_JSON)
|
||||||
->label('sdk.response.model', Response::MODEL_VARIABLE)
|
->label('sdk.response.model', Response::MODEL_VARIABLE)
|
||||||
->param('functionId', null, new UID(), 'Function unique ID.', false)
|
->param('functionId', null, new UID(), 'Function unique ID.', false)
|
||||||
->param('key', null, new Text(255), 'Variable key. Max length: 255 chars.', false)
|
->param('key', null, new Text(Database::LENGTH_KEY), 'Variable key. Max length: ' . Database::LENGTH_KEY . ' chars.', false)
|
||||||
->param('value', null, new Text(16384), 'Variable value. Max length: 16384 chars.', false)
|
->param('value', null, new Text(16384), 'Variable value. Max length: 16384 chars.', false)
|
||||||
->inject('response')
|
->inject('response')
|
||||||
->inject('dbForProject')
|
->inject('dbForProject')
|
||||||
|
|
Loading…
Reference in a new issue