This commit is contained in:
Marco Lettere 2021-11-23 13:01:11 +01:00
parent 79ded74f4d
commit ad6c4b7f03
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@
"type": "LAMBDA", "type": "LAMBDA",
"inputParameters": { "inputParameters": {
"context_name" : "${extract_context.output.result.client.name}", "context_name" : "${extract_context.output.result.client.name}",
"scriptExpression": "var s = $.context_name; return { shubified_context_name : (s[0] === "/" ? s.replace("/", "") : s).split("/").join("-")" "scriptExpression": "var s = $.context_name; return { shubified_context_name : (s[0] === '/' ? s.replace('/', '') : s).split('/').join('-')"
} }
} }
] ]