mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 20:54:07 -08:00
⚡ Typeform Trigger translates double curly brackets square brackets (#1316)
This commit is contained in:
parent
5a8ef557ad
commit
e5bbf7144f
|
@ -217,7 +217,7 @@ export class TypeformTrigger implements INodeType {
|
|||
// Create a dictionary to get the field title by its ID
|
||||
const defintitionsById: { [key: string]: string; } = {};
|
||||
for (const field of definition.fields) {
|
||||
defintitionsById[field.id] = field.title;
|
||||
defintitionsById[field.id] = field.title.replace(/\{\{/g, "[").replace(/\}\}/g, "]");
|
||||
}
|
||||
|
||||
// Convert the answers to key -> value pair
|
||||
|
|
Loading…
Reference in a new issue