Merge pull request #3367 from appwrite/fix-payload-default
Fix: default function payload
This commit is contained in:
commit
310ecbb87c
1 changed files with 1 additions and 1 deletions
|
@ -434,7 +434,7 @@ App::post('/v1/execution')
|
||||||
->desc('Create an execution')
|
->desc('Create an execution')
|
||||||
->param('runtimeId', '', new Text(64), 'The runtimeID to execute.')
|
->param('runtimeId', '', new Text(64), 'The runtimeID to execute.')
|
||||||
->param('vars', [], new Assoc(), 'Environment variables required for the build.')
|
->param('vars', [], new Assoc(), 'Environment variables required for the build.')
|
||||||
->param('data', '{}', new Text(8192), 'Data to be forwarded to the function, this is user specified.', true)
|
->param('data', '', new Text(8192), 'Data to be forwarded to the function, this is user specified.', true)
|
||||||
->param('timeout', 15, new Range(1, (int) App::getEnv('_APP_FUNCTIONS_TIMEOUT', 900)), 'Function maximum execution time in seconds.')
|
->param('timeout', 15, new Range(1, (int) App::getEnv('_APP_FUNCTIONS_TIMEOUT', 900)), 'Function maximum execution time in seconds.')
|
||||||
->inject('activeRuntimes')
|
->inject('activeRuntimes')
|
||||||
->inject('response')
|
->inject('response')
|
||||||
|
|
Loading…
Reference in a new issue