convert timeout seconds to milliseconds

This commit is contained in:
Peter Clement 2023-05-15 14:48:34 +01:00
parent 2b5b7f2b87
commit 266465c8df
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ export async function trigger(ctx: BBContext) {
automation,
{
fields: ctx.request.body.fields,
timeout: ctx.request.body.timeout || 120000,
timeout: ctx.request.body.timeout * 1000 || 120000,
},
{ getResponses: true }
)