1
0
Fork 0
mirror of synced 2024-07-03 21:50:34 +12:00

Change default to empty string

This commit is contained in:
Matej Bačo 2022-03-21 11:29:49 +00:00
parent 26a1654d01
commit 0dd617d4a7

View file

@ -396,7 +396,7 @@ App::post('/v1/execution')
->desc('Create an execution')
->param('runtimeId', '', new Text(64), 'The runtimeID to execute')
->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.')
->inject('activeRuntimes')
->inject('response')